|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QAbstractItemView.State>
com.trolltech.qt.gui.QAbstractItemView.State
public static enum QAbstractItemView.State
Describes the different states the view can be in. This is usually only interesting when reimplementing your own view.
Enum Constant Summary | |
---|---|
AnimatingState
The item view is performing an animation. |
|
CollapsingState
The user is closing a branch of items. |
|
DraggingState
The user is dragging items. |
|
DragSelectingState
The user is selecting items. |
|
EditingState
The user is editing an item in a widget editor. |
|
ExpandingState
The user is opening a branch of items. |
|
NoState
The is the default state. |
Method Summary | |
---|---|
static QAbstractItemView.State |
resolve(int value)
|
int |
value()
|
static QAbstractItemView.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QAbstractItemView.State[] |
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 QAbstractItemView.State NoState
The is the default state.
public static final QAbstractItemView.State DraggingState
The user is dragging items.
public static final QAbstractItemView.State DragSelectingState
The user is selecting items.
public static final QAbstractItemView.State EditingState
The user is editing an item in a widget editor.
public static final QAbstractItemView.State ExpandingState
The user is opening a branch of items.
public static final QAbstractItemView.State CollapsingState
The user is closing a branch of items.
public static final QAbstractItemView.State AnimatingState
The item view is performing an animation.
Method Detail |
---|
public static final QAbstractItemView.State[] values()
for(QAbstractItemView.State c : QAbstractItemView.State.values()) System.out.println(c);
public static QAbstractItemView.State 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 QAbstractItemView.State resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |