|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QStyleOptionTab.TabPosition>
com.trolltech.qt.gui.QStyleOptionTab.TabPosition
public static enum QStyleOptionTab.TabPosition
This enum describes the position of the tab.
Enum Constant Summary | |
---|---|
Beginning
The tab is the first tab in the tab bar. |
|
End
The tab is the last tab in the tab bar. |
|
Middle
The tab is neither the first nor the last tab in the tab bar. |
|
OnlyOneTab
The tab is both the first and the last tab in the tab bar. |
Method Summary | |
---|---|
static QStyleOptionTab.TabPosition |
resolve(int value)
|
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)
Returns the enum constant of this type with the specified name. |
static QStyleOptionTab.TabPosition[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
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 |
Enum Constant Detail |
---|
public static final QStyleOptionTab.TabPosition Beginning
The tab is the first tab in the tab bar.
public static final QStyleOptionTab.TabPosition Middle
The tab is neither the first nor the last tab in the tab bar.
public static final QStyleOptionTab.TabPosition End
The tab is the last tab in the tab bar.
public static final QStyleOptionTab.TabPosition OnlyOneTab
The tab is both the first and the last tab in the tab bar.
Method Detail |
---|
public static QStyleOptionTab.TabPosition[] values()
for (QStyleOptionTab.TabPosition c : QStyleOptionTab.TabPosition.values()) System.out.println(c);
public static QStyleOptionTab.TabPosition valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic int value()
QtEnumerator
value
in interface QtEnumerator
public static QStyleOptionTab.TabPosition resolve(int value)
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |