com.trolltech.qt.gui
Class QStyleOptionToolBoxV2.SelectedPosition

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

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

This enum describes the position of the selected tab. Some styles need to draw a tab differently depending on whether or not it is adjacent to the selected tab.

See also:
selectedPosition.

See Also:
Serialized Form

Field Summary
static QStyleOptionToolBoxV2.SelectedPosition NextIsSelected
          The next tab (typically the tab on the right) is selected.
static QStyleOptionToolBoxV2.SelectedPosition NotAdjacent
          The tab is not adjacent to a selected tab (or is the selected tab).
static QStyleOptionToolBoxV2.SelectedPosition PreviousIsSelected
          The previous tab (typically the tab on the left) is selected.
 
Method Summary
static QStyleOptionToolBoxV2.SelectedPosition resolve(int value)
          Returns the QStyleOptionToolBoxV2$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 QStyleOptionToolBoxV2.SelectedPosition valueOf(java.lang.String name)
           
static QStyleOptionToolBoxV2.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 QStyleOptionToolBoxV2.SelectedPosition NotAdjacent
The tab is not adjacent to a selected tab (or is the selected tab).


NextIsSelected

public static final QStyleOptionToolBoxV2.SelectedPosition NextIsSelected
The next tab (typically the tab on the right) is selected.


PreviousIsSelected

public static final QStyleOptionToolBoxV2.SelectedPosition PreviousIsSelected
The previous tab (typically the tab on the left) is selected.

Method Detail

values

public static QStyleOptionToolBoxV2.SelectedPosition[] values()

valueOf

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