|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QAbstractItemView.ScrollHint>
com.trolltech.qt.gui.QAbstractItemView.ScrollHint
public static enum QAbstractItemView.ScrollHint
Press link for info on QAbstractItemView.ScrollHint
Enum Constant Summary | |
---|---|
EnsureVisible
Scroll to ensure that the item is visible. |
|
PositionAtBottom
Scroll to position the item at the bottom of the viewport. |
|
PositionAtCenter
Scroll to position the item at the center of the viewport. |
|
PositionAtTop
Scroll to position the item at the top of the viewport. |
Method Summary | |
---|---|
static QAbstractItemView.ScrollHint |
resolve(int value)
|
int |
value()
|
static QAbstractItemView.ScrollHint |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QAbstractItemView.ScrollHint[] |
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.ScrollHint EnsureVisible
Scroll to ensure that the item is visible.
public static final QAbstractItemView.ScrollHint PositionAtTop
Scroll to position the item at the top of the viewport.
public static final QAbstractItemView.ScrollHint PositionAtBottom
Scroll to position the item at the bottom of the viewport.
public static final QAbstractItemView.ScrollHint PositionAtCenter
Scroll to position the item at the center of the viewport.
Method Detail |
---|
public static final QAbstractItemView.ScrollHint[] values()
for(QAbstractItemView.ScrollHint c : QAbstractItemView.ScrollHint.values()) System.out.println(c);
public static QAbstractItemView.ScrollHint 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.ScrollHint resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |