Enum Class EditTrigger

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

public enum EditTrigger extends Enum<EditTrigger>
Enumeration that specifies the user action that triggers editing.
  • Enum Constant Details

    • None

      public static final EditTrigger None
      Do not allow user to initiate editing.
    • SingleClicked

      public static final EditTrigger SingleClicked
      Edit an item when clicked.
    • DoubleClicked

      public static final EditTrigger DoubleClicked
      Edit an item when double clicked.
    • SelectedClicked

      public static final EditTrigger SelectedClicked
      Edit a selected item that is clicked again.
  • Method Details

    • values

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