|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QItemSelectionModel.SelectionFlag>
com.trolltech.qt.gui.QItemSelectionModel.SelectionFlag
public static enum QItemSelectionModel.SelectionFlag
This enum describes the way the selection model will be updated.
Enum Constant Summary | |
---|---|
Clear
The complete selection will be cleared. |
|
ClearAndSelect
A combination of Clear and Select, provided for convenience. |
|
Columns
All indexes will be expanded to span columns. |
|
Current
The current selection will be updated. |
|
Deselect
All specified indexes will be deselected. |
|
NoUpdate
No selection will be made. |
|
Rows
All indexes will be expanded to span rows. |
|
Select
All specified indexes will be selected. |
|
SelectCurrent
A combination of Select and Current, provided for convenience. |
|
Toggle
All specified indexes will be selected or deselected depending on their current state. |
|
ToggleCurrent
A combination of Toggle and Current, provided for convenience. |
Method Summary | |
---|---|
static QItemSelectionModel.SelectionFlags |
createQFlags(QItemSelectionModel.SelectionFlag... values)
|
static QItemSelectionModel.SelectionFlag |
resolve(int value)
|
int |
value()
|
static QItemSelectionModel.SelectionFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QItemSelectionModel.SelectionFlag[] |
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 QItemSelectionModel.SelectionFlag NoUpdate
No selection will be made.
public static final QItemSelectionModel.SelectionFlag Clear
The complete selection will be cleared.
public static final QItemSelectionModel.SelectionFlag Select
All specified indexes will be selected.
public static final QItemSelectionModel.SelectionFlag Deselect
All specified indexes will be deselected.
public static final QItemSelectionModel.SelectionFlag Toggle
All specified indexes will be selected or deselected depending on their current state.
public static final QItemSelectionModel.SelectionFlag Current
The current selection will be updated.
public static final QItemSelectionModel.SelectionFlag Rows
All indexes will be expanded to span rows.
public static final QItemSelectionModel.SelectionFlag Columns
All indexes will be expanded to span columns.
public static final QItemSelectionModel.SelectionFlag SelectCurrent
A combination of Select and Current, provided for convenience.
public static final QItemSelectionModel.SelectionFlag ToggleCurrent
A combination of Toggle and Current, provided for convenience.
public static final QItemSelectionModel.SelectionFlag ClearAndSelect
A combination of Clear and Select, provided for convenience.
Method Detail |
---|
public static final QItemSelectionModel.SelectionFlag[] values()
for(QItemSelectionModel.SelectionFlag c : QItemSelectionModel.SelectionFlag.values()) System.out.println(c);
public static QItemSelectionModel.SelectionFlag 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 QItemSelectionModel.SelectionFlags createQFlags(QItemSelectionModel.SelectionFlag... values)
public static QItemSelectionModel.SelectionFlag resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |