com.trolltech.qt.gui
Class QStyleOptionTab.TabPosition

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

public static final class QStyleOptionTab.TabPosition
extends java.lang.Enum
implements QtEnumerator

This enum describes the position of the tab.

See also:
position.

See Also:
Serialized Form

Field Summary
static QStyleOptionTab.TabPosition Beginning
          The tab is the first tab in the tab bar.
static QStyleOptionTab.TabPosition End
          The tab is the last tab in the tab bar.
static QStyleOptionTab.TabPosition Middle
          The tab is neither the first nor the last tab in the tab bar.
static QStyleOptionTab.TabPosition OnlyOneTab
          The tab is both the first and the last tab in the tab bar.
 
Method Summary
static QStyleOptionTab.TabPosition resolve(int value)
          Returns the QStyleOptionTab$TabPosition 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 QStyleOptionTab.TabPosition valueOf(java.lang.String name)
           
static QStyleOptionTab.TabPosition[] 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

Beginning

public static final QStyleOptionTab.TabPosition Beginning
The tab is the first tab in the tab bar.


Middle

public static final QStyleOptionTab.TabPosition Middle
The tab is neither the first nor the last tab in the tab bar.


End

public static final QStyleOptionTab.TabPosition End
The tab is the last tab in the tab bar.


OnlyOneTab

public static final QStyleOptionTab.TabPosition OnlyOneTab
The tab is both the first and the last tab in the tab bar.

Method Detail

values

public static QStyleOptionTab.TabPosition[] values()

valueOf

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