Enum AnnotationIcon

All Implemented Interfaces:
Serializable, Comparable<AnnotationIcon>, java.lang.constant.Constable

public enum AnnotationIcon extends Enum<AnnotationIcon>
Icons used to interact (open/close) with a PDF annotation on a page.
  • Enum Constant Details

    • NO_ICON

      public static final AnnotationIcon NO_ICON
      No icon, this is useful when an annotation will be signified by an existing graphic or object.

      public static final AnnotationIcon COMMENT
      A Comment Icon
    • HELP

      public static final AnnotationIcon HELP
      A Help Icon
    • INSERT

      public static final AnnotationIcon INSERT
      An 'Insert' Icon
    • KEY

      public static final AnnotationIcon KEY
      A Key Icon

      public static final AnnotationIcon NEW_PARAGRAPH
      A New Paragraph Icon
    • NOTE

      public static final AnnotationIcon NOTE
      A Note Icon

      public static final AnnotationIcon PARAGRAPH
      A 'Paragraph of Text' Icon
  • Method Details

    • values

      public static AnnotationIcon[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static AnnotationIcon valueOf(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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null