Enum Class PointerType

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

public enum PointerType extends Enum<PointerType>
Describes the types of pointer that can be used for input.
  • Enum Constant Details

    • PEN

      public static final PointerType PEN
      An active stylus.
    • TOUCH

      public static final PointerType TOUCH
      A finger on a touchscreen (or a passive stylus).
    • ERASER

      public static final PointerType ERASER
      An eraser or inverted pen.
    • MOUSE

      public static final PointerType MOUSE
      A mouse.
    • CUSTOM_1

      public static final PointerType CUSTOM_1
      A custom pointer.
    • CUSTOM_2

      public static final PointerType CUSTOM_2
      A custom pointer.
    • CUSTOM_3

      public static final PointerType CUSTOM_3
      A custom pointer.
    • CUSTOM_4

      public static final PointerType CUSTOM_4
      A custom pointer.
    • CUSTOM_5

      public static final PointerType CUSTOM_5
      A custom pointer.
  • Method Details

    • values

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