Package com.myscript.iink
Enum PointerType
- java.lang.Object
-
- java.lang.Enum<PointerType>
-
- com.myscript.iink.PointerType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PointerType>
public enum PointerType extends java.lang.Enum<PointerType>
Describes the types of pointer that can be used for input.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PointerType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PointerType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PEN
public static final PointerType PEN
-
TOUCH
public static final PointerType TOUCH
-
ERASER
public static final PointerType ERASER
-
MOUSE
public static final PointerType MOUSE
-
CUSTOM_1
public static final PointerType CUSTOM_1
-
CUSTOM_2
public static final PointerType CUSTOM_2
-
CUSTOM_3
public static final PointerType CUSTOM_3
-
CUSTOM_4
public static final PointerType CUSTOM_4
-
CUSTOM_5
public static final PointerType CUSTOM_5
-
-
Method Detail
-
values
public static PointerType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PointerType c : PointerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PointerType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-