Enum Class PointerTool

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

public enum PointerTool extends Enum<PointerTool>
Describes the tools that the pointer types can be associated with.
  • Enum Constant Details

    • PEN

      public static final PointerTool PEN
      A tool used for used for writing, drawing, performing ink gesture, or resizing a box.
    • HAND

      public static final PointerTool HAND
      A tool used for interacting with already selected content.
    • ERASER

      public static final PointerTool ERASER
      A tool used for erasing some content.
    • SELECTOR

      public static final PointerTool SELECTOR
      A tool used for selecting some content.
    • HIGHLIGHTER

      public static final PointerTool HIGHLIGHTER
      A tool used for highlighting some content.
  • Method Details

    • values

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