|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ItemFlag>
eu.webtoolkit.jwt.ItemFlag
public enum ItemFlag
Flags that indicate data item options.
WModelIndex.getFlags()| Enum Constant Summary | |
|---|---|
ItemIsDirty
Item's value has been modified. |
|
ItemIsDragEnabled
Item can be dragged. |
|
ItemIsDropEnabled
Item can be a drop target. |
|
ItemIsEditable
Item can be edited. |
|
ItemIsSelectable
Item can be selected. |
|
ItemIsTristate
Item has tree states. |
|
ItemIsUserCheckable
Item can be checked. |
|
ItemIsXHTMLText
Item's textual is HTML. |
|
| Method Summary | |
|---|---|
int |
getValue()
Returns the numerical representation of this enum. |
static ItemFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ItemFlag[] |
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 ItemFlag ItemIsSelectable
public static final ItemFlag ItemIsEditable
public static final ItemFlag ItemIsUserCheckable
public static final ItemFlag ItemIsDragEnabled
public static final ItemFlag ItemIsDropEnabled
public static final ItemFlag ItemIsTristate
Item has tree states. When set, ItemDataRole.CheckStateRole data
is of type CheckState
public static final ItemFlag ItemIsXHTMLText
public static final ItemFlag ItemIsDirty
| Method Detail |
|---|
public static ItemFlag[] values()
for (ItemFlag c : ItemFlag.values()) System.out.println(c);
public static ItemFlag 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 getValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||