Enum Class ItemFlag

java.lang.Object
java.lang.Enum<ItemFlag>
eu.webtoolkit.jwt.ItemFlag
All Implemented Interfaces:
Serializable, Comparable<ItemFlag>, Constable

public enum ItemFlag extends Enum<ItemFlag>
Flags that indicate data item options.

See Also:
  • Enum Constant Details

    • Selectable

      public static final ItemFlag Selectable
      Item can be selected.
    • Editable

      public static final ItemFlag Editable
      Item can be edited.
    • UserCheckable

      public static final ItemFlag UserCheckable
      Item can be checked (checkbox is enabled)
    • DragEnabled

      public static final ItemFlag DragEnabled
      Item can be dragged.
    • DropEnabled

      public static final ItemFlag DropEnabled
      Item can be a drop target.
    • Tristate

      public static final ItemFlag Tristate
      Item has tree states.

      When set, ItemDataRole.Checked data is of type CheckState

    • XHTMLText

      public static final ItemFlag XHTMLText
    • Dirty

      public static final ItemFlag Dirty
      Item's value has been modified.
    • DeferredToolTip

      public static final ItemFlag DeferredToolTip
      Item's tooltip is deferred.
  • Method Details

    • values

      public static ItemFlag[] 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

      public static ItemFlag valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
      Returns the numerical representation of this enum.