Enum Class EditorError

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

public enum EditorError extends Enum<EditorError>
Represents an Editor error code.
Since:
1.5
See Also:
  • Enum Constant Details

    • GENERIC

      public static final EditorError GENERIC
      Generic error, refer to the `message` parameter for more information.
    • INK_REJECTED_TOO_SMALL

      public static final EditorError INK_REJECTED_TOO_SMALL
      Ink was rejected, the stroke is too small.
    • INK_REJECTED_TOO_BIG

      public static final EditorError INK_REJECTED_TOO_BIG
      Ink was rejected, the stroke is too big.
    • INK_REJECTED_ABOVE_FIRST_LINE

      public static final EditorError INK_REJECTED_ABOVE_FIRST_LINE
      Ink was rejected, the stroke is too far above the first line.
    • INK_REJECTED_SMALL_TYPESET

      public static final EditorError INK_REJECTED_SMALL_TYPESET
      Ink was rejected, cannot write on DIGITAL_PUBLISH blocks (convert to DIGITAL_EDIT).
    • INK_REJECTED_BEFORE_FIRST_COLUMN

      public static final EditorError INK_REJECTED_BEFORE_FIRST_COLUMN
      Ink was rejected, the stroke is too far left.
    • INK_REJECTED_OUT_OF_PAGE

      public static final EditorError INK_REJECTED_OUT_OF_PAGE
      Ink was rejected, the stroke is out of the page bounds.
    • INK_REJECTED_TOO_LONG

      public static final EditorError INK_REJECTED_TOO_LONG
      Ink was rejected, the stroke is too long.
    • GESTURE_NOTIFICATION_NO_WORDS_TO_JOIN

      public static final EditorError GESTURE_NOTIFICATION_NO_WORDS_TO_JOIN
      Gesture notification, no words to join.
    • GESTURE_NOTIFICATION_CANNOT_MOVE_ABOVE_FIRSTLINE

      public static final EditorError GESTURE_NOTIFICATION_CANNOT_MOVE_ABOVE_FIRSTLINE
      Gesture notification, cannot move above first line.
    • GESTURE_NOTIFICATION_UNABLE_TO_APPLY

      public static final EditorError GESTURE_NOTIFICATION_UNABLE_TO_APPLY
      Gesture notification, unable to apply.
    • CONFIGURATION_BUNDLE_NOT_FOUND

      public static final EditorError CONFIGURATION_BUNDLE_NOT_FOUND
      The configuration bundle (*.conf file) cannot be found.
    • CONFIGURATION_NAME_NOT_FOUND

      public static final EditorError CONFIGURATION_NAME_NOT_FOUND
      The configuration name cannot be found in the bundle (*.conf file).
    • RESOURCE_NOT_FOUND

      public static final EditorError RESOURCE_NOT_FOUND
      The configuration refers to a resource file that cannot be found.
    • INVALID_CONFIGURATION

      public static final EditorError INVALID_CONFIGURATION
      There was an error when parsing the *.conf files.
    • INK_REJECTED_SEVERAL_BLOCKS

      public static final EditorError INK_REJECTED_SEVERAL_BLOCKS
      Ink was rejected, the stroke is spread over several blocks.
  • Method Details

    • values

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