com.trolltech.qt.core
Class Qt.CheckState

java.lang.Object
  extended by java.lang.Enum
      extended by com.trolltech.qt.core.Qt.CheckState
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable
Enclosing interface:
Qt

public static final class Qt.CheckState
extends java.lang.Enum
implements QtEnumerator

This enum describes the state of checkable items, controls, and widgets.

See also:
QCheckBox, Qt::ItemFlags, and Qt::ItemDataRole .

See Also:
Serialized Form

Field Summary
static Qt.CheckState Checked
          The item is checked.
static Qt.CheckState PartiallyChecked
          The item is partially checked.
static Qt.CheckState Unchecked
          The item is unchecked.
 
Method Summary
static Qt.CheckState resolve(int value)
          Returns the Qt$CheckState 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 Qt.CheckState valueOf(java.lang.String name)
           
static Qt.CheckState[] 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

Unchecked

public static final Qt.CheckState Unchecked
The item is unchecked.


PartiallyChecked

public static final Qt.CheckState PartiallyChecked
The item is partially checked. Items in hierarchical models may be partially checked if some, but not all, of their children are checked.


Checked

public static final Qt.CheckState Checked
The item is checked.

Method Detail

values

public static Qt.CheckState[] values()

valueOf

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