Enum Class GestureAction

java.lang.Object
java.lang.Enum<GestureAction>
com.myscript.iink.GestureAction
All Implemented Interfaces:
Serializable, Comparable<GestureAction>, Constable

public enum GestureAction extends Enum<GestureAction>
Represents the action to be performed upon gesture detection.
Since:
2.1
See Also:
  • Enum Constant Details

    • APPLY_GESTURE

      public static final GestureAction APPLY_GESTURE
      Apply the gesture behavior, as configured in the editor.
    • IGNORE

      public static final GestureAction IGNORE
      Discard the gesture stroke, do not apply the gesture behavior.
    • ADD_STROKE

      public static final GestureAction ADD_STROKE
      Do not apply the gesture behavior and add gesture stroke as a regular stroke (if relevant).
  • Method Details

    • values

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