com.trolltech.qt.gui
Class QTableWidgetItem.ItemType

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

public static final class QTableWidgetItem.ItemType
extends java.lang.Enum
implements QtEnumerator

This enum describes the types that are used to describe table widget items. You can define new user types in QTableWidgetItem subclasses to ensure that custom items are treated specially.

See also:
type().

See Also:
Serialized Form

Field Summary
static QTableWidgetItem.ItemType Type
          The default type for table widget items.
static QTableWidgetItem.ItemType UserType
          The minimum value for custom types.
 
Method Summary
static QTableWidgetItem.ItemType resolve(int value)
          Returns the QTableWidgetItem$ItemType 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 QTableWidgetItem.ItemType valueOf(java.lang.String name)
           
static QTableWidgetItem.ItemType[] 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

Type

public static final QTableWidgetItem.ItemType Type
The default type for table widget items.


UserType

public static final QTableWidgetItem.ItemType UserType
The minimum value for custom types. Values below UserType are reserved by Qt.

Method Detail

values

public static QTableWidgetItem.ItemType[] values()

valueOf

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