|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QListWidgetItem.ItemType>
com.trolltech.qt.gui.QListWidgetItem.ItemType
public static enum QListWidgetItem.ItemType
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.
Enum Constant Summary | |
---|---|
Type
The default type for list widget items. |
|
UserType
The minimum value for custom types. |
Method Summary | |
---|---|
static QListWidgetItem.ItemType |
resolve(int value)
|
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)
Returns the enum constant of this type with the specified name. |
static QListWidgetItem.ItemType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
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 |
Enum Constant Detail |
---|
public static final QListWidgetItem.ItemType Type
The default type for list widget items.
public static final QListWidgetItem.ItemType UserType
The minimum value for custom types. Values below UserType are reserved by Qt.
Method Detail |
---|
public static QListWidgetItem.ItemType[] values()
for (QListWidgetItem.ItemType c : QListWidgetItem.ItemType.values()) System.out.println(c);
public static QListWidgetItem.ItemType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic int value()
QtEnumerator
value
in interface QtEnumerator
public static QListWidgetItem.ItemType resolve(int value)
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |