Enum Class TextFormat

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

public enum TextFormat extends Enum<TextFormat>
Predefined Text Box formats.
Since:
2.0
  • Enum Constant Details

    • H1

      public static final TextFormat H1
      Header 1 format.
    • H2

      public static final TextFormat H2
      Header 2 format.
    • PARAGRAPH

      public static final TextFormat PARAGRAPH
      Paragraph format.
    • LIST_BULLET

      public static final TextFormat LIST_BULLET
      Bullet list format.
    • LIST_CHECKBOX

      public static final TextFormat LIST_CHECKBOX
      Checkbox list format.
    • LIST_NUMBERED

      public static final TextFormat LIST_NUMBERED
      Numbered list format.
  • Method Details

    • values

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