|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Annotation.FlagsEnum>
org.pdfclown.documents.interaction.annotations.Annotation.FlagsEnum
public static enum Annotation.FlagsEnum
Field flags [PDF:1.6:8.4.2].
Enum Constant Summary | |
---|---|
Hidden
Hide the annotation, both on screen and on print (regardless of its annotation type or whether an annotation handler is available). |
|
Invisible
Hide the annotation, both on screen and on print, if it does not belong to one of the standard annotation types and no annotation handler is available. |
|
Locked
Do not allow the annotation to be deleted or its properties to be modified by the user. |
|
NoRotate
Do not rotate the annotation's appearance to match the rotation of the page. |
|
NoView
Hide the annotation on the screen. |
|
NoZoom
Do not scale the annotation's appearance to match the magnification of the page. |
|
Print
Print the annotation when the page is printed. |
|
ReadOnly
Do not allow the annotation to interact with the user. |
|
ToggleNoView
Invert the interpretation of the NoView flag. |
Method Summary | |
---|---|
int |
getCode()
|
static EnumSet<Annotation.FlagsEnum> |
toEnumSet(int flagsMask)
Converts a bit mask into its corresponding enumeration representation. |
static int |
toInt(EnumSet<Annotation.FlagsEnum> flags)
Converts an enumeration set into its corresponding bit mask representation. |
static Annotation.FlagsEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Annotation.FlagsEnum[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Annotation.FlagsEnum Invisible
public static final Annotation.FlagsEnum Hidden
public static final Annotation.FlagsEnum Print
public static final Annotation.FlagsEnum NoZoom
public static final Annotation.FlagsEnum NoRotate
public static final Annotation.FlagsEnum NoView
public static final Annotation.FlagsEnum ReadOnly
public static final Annotation.FlagsEnum Locked
public static final Annotation.FlagsEnum ToggleNoView
Method Detail |
---|
public static Annotation.FlagsEnum[] values()
for (Annotation.FlagsEnum c : Annotation.FlagsEnum.values()) System.out.println(c);
public static Annotation.FlagsEnum valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static int toInt(EnumSet<Annotation.FlagsEnum> flags)
public static EnumSet<Annotation.FlagsEnum> toEnumSet(int flagsMask)
public int getCode()
|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |