Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.trolltech.qt.gui
Class QAbstractItemView.ScrollHint

    java.lang.Object
      java.lang.Enum
          com.trolltech.qt.gui.QAbstractItemView.ScrollHint

All Implemented Interfaces:
  QtEnumerator, java.io.Serializable, java.lang.Comparable

Enclosing class:
  QAbstractItemView

    public static final class QAbstractItemView.ScrollHint

extends java.lang.Enum
implements QtEnumerator

See Also:
  Serialized Form

Field Summary
`static QAbstractItemView.ScrollHint` | `EnsureVisible` Scroll to ensure that the item is visible.
`static QAbstractItemView.ScrollHint` | `PositionAtBottom` Scroll to position the item at the bottom of the viewport.
`static QAbstractItemView.ScrollHint` | `PositionAtCenter` Scroll to position the item at the center of the viewport.
`static QAbstractItemView.ScrollHint` | `PositionAtTop` Scroll to position the item at the top of the viewport.

Method Summary
`static QAbstractItemView.ScrollHint` | `resolve(int value)` Returns the QAbstractItemView$ScrollHint constant with the specified `int`.
`int` | `value()` This function should return an integer value for the enum values of the enumeration that implements this interface.
`static QAbstractItemView.ScrollHint` | `valueOf(java.lang.String name)`
`static QAbstractItemView.ScrollHint[]` | `values()`

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`

Field Detail

### EnsureVisible

    public static final QAbstractItemView.ScrollHint EnsureVisible

  Scroll to ensure that the item is visible.

### PositionAtTop

    public static final QAbstractItemView.ScrollHint PositionAtTop

  Scroll to position the item at the top of the viewport.

### PositionAtBottom

    public static final QAbstractItemView.ScrollHint PositionAtBottom

  Scroll to position the item at the bottom of the viewport.

### PositionAtCenter

    public static final QAbstractItemView.ScrollHint PositionAtCenter

  Scroll to position the item at the center of the viewport.

Method Detail

### values

    public static QAbstractItemView.ScrollHint[] values()

### valueOf

    public static QAbstractItemView.ScrollHint valueOf(java.lang.String name)

### value

    public int value()

  This function should return an integer value for the enum values of the enumeration that implements this interface.

  Specified by:
    `value` in interface `QtEnumerator`

### resolve

    public static QAbstractItemView.ScrollHint resolve(int value)

  Returns the QAbstractItemView$ScrollHint constant with the specified `int`.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD