Package eu.webtoolkit.jwt
Enum Class ItemFlag
- All Implemented Interfaces:
Serializable
,Comparable<ItemFlag>
,Constable
Flags that indicate data item options.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionItem's tooltip is deferred.Item's value has been modified.Item can be dragged.Item can be a drop target.Item can be edited.Item can be selected.Item has tree states.Item can be checked (checkbox is enabled)Item's text (ItemDataRole.Display
,ItemDataRole.ToolTip
) is HTML. -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
Returns the numerical representation of this enum.static ItemFlag
Returns the enum constant of this class with the specified name.static ItemFlag[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Selectable
Item can be selected. -
Editable
Item can be edited. -
UserCheckable
Item can be checked (checkbox is enabled) -
DragEnabled
Item can be dragged. -
DropEnabled
Item can be a drop target. -
Tristate
Item has tree states.When set,
ItemDataRole.Checked
data is of typeCheckState
-
XHTMLText
Item's text (ItemDataRole.Display
,ItemDataRole.ToolTip
) is HTML. -
Dirty
Item's value has been modified. -
DeferredToolTip
Item's tooltip is deferred.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue()Returns the numerical representation of this enum.
-