|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QTreeWidgetItem.ItemType>
com.trolltech.qt.gui.QTreeWidgetItem.ItemType
public static enum QTreeWidgetItem.ItemType
This enum describes the types that are used to describe tree widget items.
You can define new user types in QTreeWidgetItem subclasses to ensure that custom items are treated specially; for example, when items are sorted.
Enum Constant Summary | |
---|---|
Type
The default type for tree widget items. |
|
UserType
The minimum value for custom types. |
Method Summary | |
---|---|
static QTreeWidgetItem.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 QTreeWidgetItem.ItemType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QTreeWidgetItem.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 QTreeWidgetItem.ItemType Type
The default type for tree widget items.
public static final QTreeWidgetItem.ItemType UserType
The minimum value for custom types. Values below UserType are reserved by Qt.
Method Detail |
---|
public static QTreeWidgetItem.ItemType[] values()
for (QTreeWidgetItem.ItemType c : QTreeWidgetItem.ItemType.values()) System.out.println(c);
public static QTreeWidgetItem.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 QTreeWidgetItem.ItemType resolve(int value)
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |