Package com.myscript.iink
Enum Class EditorError
- All Implemented Interfaces:
Serializable
,Comparable<EditorError>
,Constable
Represents an Editor error code.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe configuration bundle (*.conf file) cannot be found.The configuration name cannot be found in the bundle (*.conf file).Generic error, refer to the `message` parameter for more information.Gesture notification, cannot move above first line.Gesture notification, no words to join.Gesture notification, unable to apply.Ink was rejected, the stroke is too far above the first line.Ink was rejected, the stroke is too far left.Ink was rejected, the stroke is out of the page bounds.Ink was rejected, the stroke is spread over several blocks.Ink was rejected, cannot write on DIGITAL_PUBLISH blocks (convert to DIGITAL_EDIT).Ink was rejected, the stroke is too big.Ink was rejected, the stroke is too long.Ink was rejected, the stroke is too small.There was an error when parsing the *.conf files.The configuration refers to a resource file that cannot be found. -
Method Summary
Modifier and TypeMethodDescriptionstatic EditorError
Returns the enum constant of this class with the specified name.static EditorError[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GENERIC
Generic error, refer to the `message` parameter for more information. -
INK_REJECTED_TOO_SMALL
Ink was rejected, the stroke is too small. -
INK_REJECTED_TOO_BIG
Ink was rejected, the stroke is too big. -
INK_REJECTED_ABOVE_FIRST_LINE
Ink was rejected, the stroke is too far above the first line. -
INK_REJECTED_SMALL_TYPESET
Ink was rejected, cannot write on DIGITAL_PUBLISH blocks (convert to DIGITAL_EDIT). -
INK_REJECTED_BEFORE_FIRST_COLUMN
Ink was rejected, the stroke is too far left. -
INK_REJECTED_OUT_OF_PAGE
Ink was rejected, the stroke is out of the page bounds. -
INK_REJECTED_TOO_LONG
Ink was rejected, the stroke is too long. -
GESTURE_NOTIFICATION_NO_WORDS_TO_JOIN
Gesture notification, no words to join. -
GESTURE_NOTIFICATION_CANNOT_MOVE_ABOVE_FIRSTLINE
Gesture notification, cannot move above first line. -
GESTURE_NOTIFICATION_UNABLE_TO_APPLY
Gesture notification, unable to apply. -
CONFIGURATION_BUNDLE_NOT_FOUND
The configuration bundle (*.conf file) cannot be found. -
CONFIGURATION_NAME_NOT_FOUND
The configuration name cannot be found in the bundle (*.conf file). -
RESOURCE_NOT_FOUND
The configuration refers to a resource file that cannot be found. -
INVALID_CONFIGURATION
There was an error when parsing the *.conf files. -
INK_REJECTED_SEVERAL_BLOCKS
Ink was rejected, the stroke is spread over several blocks.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-