com.trolltech.qt.gui
Class QListWidgetItem.ItemType

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

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

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

See also:
type().

See Also:
Serialized Form

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


UserType

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

Method Detail

values

public static QListWidgetItem.ItemType[] values()

valueOf

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