com.trolltech.qt.gui
Class QAbstractItemView.State

java.lang.Object
  extended by java.lang.Enum
      extended by com.trolltech.qt.gui.QAbstractItemView.State
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable
Enclosing class:
QAbstractItemView

public static final class QAbstractItemView.State
extends java.lang.Enum
implements QtEnumerator

This enum describes the state of a window. Most of the transitional states are set just before a call to QScreen::exposeRegion() and reset immediately afterwards.

See also:
state(), and QScreen::exposeRegion().

See Also:
Serialized Form

Field Summary
static QAbstractItemView.State AnimatingState
           
static QAbstractItemView.State CollapsingState
           
static QAbstractItemView.State DraggingState
           
static QAbstractItemView.State DragSelectingState
           
static QAbstractItemView.State EditingState
           
static QAbstractItemView.State ExpandingState
           
static QAbstractItemView.State NoState
          Initial state before the window is properly initialized.
 
Method Summary
static QAbstractItemView.State resolve(int value)
          Returns the State 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.State valueOf(java.lang.String name)
           
static QAbstractItemView.State[] 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

NoState

public static final QAbstractItemView.State NoState
Initial state before the window is properly initialized.


DraggingState

public static final QAbstractItemView.State DraggingState

DragSelectingState

public static final QAbstractItemView.State DragSelectingState

EditingState

public static final QAbstractItemView.State EditingState

ExpandingState

public static final QAbstractItemView.State ExpandingState

CollapsingState

public static final QAbstractItemView.State CollapsingState

AnimatingState

public static final QAbstractItemView.State AnimatingState
Method Detail

values

public static QAbstractItemView.State[] values()

valueOf

public static QAbstractItemView.State 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.State resolve(int value)
Returns the State constant with the specified int.