com.trolltech.qt.core
Class Qt.AnchorAttribute

java.lang.Object
  extended by java.lang.Enum
      extended by com.trolltech.qt.core.Qt.AnchorAttribute
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable
Enclosing interface:
Qt

public static final class Qt.AnchorAttribute
extends java.lang.Enum
implements QtEnumerator

An anchor has one or more of the following attributes.

See Also:
Serialized Form

Field Summary
static Qt.AnchorAttribute AnchorHref
          the href attribute of the anchor.
static Qt.AnchorAttribute AnchorName
          the name attribute of the anchor.
 
Method Summary
static Qt.AnchorAttribute resolve(int value)
          Returns the Qt$AnchorAttribute constant with the specified int.
 int value()
          This function should return an integer value for the enum values of the enumeration that implements this interface.
static Qt.AnchorAttribute valueOf(java.lang.String name)
           
static Qt.AnchorAttribute[] values()
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

AnchorName

public static final Qt.AnchorAttribute AnchorName
the name attribute of the anchor. This attribute is used when scrolling to an anchor in the document.


AnchorHref

public static final Qt.AnchorAttribute AnchorHref
the href attribute of the anchor. This attribute is used when a link is clicked to determine what content to load.

Method Detail

values

public static Qt.AnchorAttribute[] values()

valueOf

public static Qt.AnchorAttribute valueOf(java.lang.String name)

value

public int value()
This function should return an integer value for the enum values of the enumeration that implements this interface.

Specified by:
value in interface QtEnumerator

resolve

public static Qt.AnchorAttribute resolve(int value)
Returns the Qt$AnchorAttribute constant with the specified int.