|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QStyleOptionHeader.SelectedPosition>
com.trolltech.qt.gui.QStyleOptionHeader.SelectedPosition
public static enum QStyleOptionHeader.SelectedPosition
This enum lets you know where the section's position is in relation to the selected section.
Enum Constant Summary | |
---|---|
NextAndPreviousAreSelected
Both the next and previous section are selected |
|
NextIsSelected
The next section is selected |
|
NotAdjacent
Not adjacent to the selected section |
|
PreviousIsSelected
The previous section is selected |
Method Summary | |
---|---|
static QStyleOptionHeader.SelectedPosition |
resolve(int value)
|
int |
value()
|
static QStyleOptionHeader.SelectedPosition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QStyleOptionHeader.SelectedPosition[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QStyleOptionHeader.SelectedPosition NotAdjacent
Not adjacent to the selected section
public static final QStyleOptionHeader.SelectedPosition NextIsSelected
The next section is selected
public static final QStyleOptionHeader.SelectedPosition PreviousIsSelected
The previous section is selected
public static final QStyleOptionHeader.SelectedPosition NextAndPreviousAreSelected
Both the next and previous section are selected
Method Detail |
---|
public static final QStyleOptionHeader.SelectedPosition[] values()
for(QStyleOptionHeader.SelectedPosition c : QStyleOptionHeader.SelectedPosition.values()) System.out.println(c);
public static QStyleOptionHeader.SelectedPosition 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 namepublic int value()
value
in interface QtEnumerator
public static QStyleOptionHeader.SelectedPosition resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |