com.trolltech.qt.gui
Class QStyleOptionHeader.SelectedPosition

java.lang.Object
  extended by java.lang.Enum
      extended by com.trolltech.qt.gui.QStyleOptionHeader.SelectedPosition
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable
Enclosing class:
QStyleOptionHeader

public static final class QStyleOptionHeader.SelectedPosition
extends java.lang.Enum
implements QtEnumerator

This enum lets you know where the section's position is in relation to the selected section.

See also:
selectedPosition.

See Also:
Serialized Form

Field Summary
static QStyleOptionHeader.SelectedPosition NextAndPreviousAreSelected
          Both the next and previous section are selected
static QStyleOptionHeader.SelectedPosition NextIsSelected
          The next section is selected
static QStyleOptionHeader.SelectedPosition NotAdjacent
          Not adjacent to the selected section
static QStyleOptionHeader.SelectedPosition PreviousIsSelected
          The previous section is selected
 
Method Summary
static QStyleOptionHeader.SelectedPosition resolve(int value)
          Returns the QStyleOptionHeader$SelectedPosition 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 QStyleOptionHeader.SelectedPosition valueOf(java.lang.String name)
           
static QStyleOptionHeader.SelectedPosition[] 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

NotAdjacent

public static final QStyleOptionHeader.SelectedPosition NotAdjacent
Not adjacent to the selected section


NextIsSelected

public static final QStyleOptionHeader.SelectedPosition NextIsSelected
The next section is selected


PreviousIsSelected

public static final QStyleOptionHeader.SelectedPosition PreviousIsSelected
The previous section is selected


NextAndPreviousAreSelected

public static final QStyleOptionHeader.SelectedPosition NextAndPreviousAreSelected
Both the next and previous section are selected

Method Detail

values

public static QStyleOptionHeader.SelectedPosition[] values()

valueOf

public static QStyleOptionHeader.SelectedPosition 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 QStyleOptionHeader.SelectedPosition resolve(int value)
Returns the QStyleOptionHeader$SelectedPosition constant with the specified int.