public enum AnnotationOptions extends java.lang.Enum<AnnotationOptions>
Annotations associate an object such as a sticky note, link or rich media with a location on a PDF page; they may also provide user interaction by means of the mouse and keyboard.
Some annotations have an associated popup.
Enum Constant | Description |
---|---|
SHOW_ANNOTATIONS |
Render the annotation without the associated popup
|
SHOW_ANNOTATIONS_AND_POPUPS |
Render the annotation and the associated popup
|
Modifier and Type | Method | Description |
---|---|---|
static AnnotationOptions |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static AnnotationOptions[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnotationOptions SHOW_ANNOTATIONS
public static final AnnotationOptions SHOW_ANNOTATIONS_AND_POPUPS
public static AnnotationOptions[] values()
for (AnnotationOptions c : AnnotationOptions.values()) System.out.println(c);
public static AnnotationOptions valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null