Enum Class AnnotationType
- All Implemented Interfaces:
Serializable, Comparable<AnnotationType>, Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateAnnotationType(String definition, int typeId, Class<?> className) -
Method Summary
Modifier and TypeMethodDescription(package private) booleanstatic AnnotationTypegetByDefinition(String definition) Get annotation type by it's typeClass<?> intstatic AnnotationTypeReturns the enum constant of this class with the specified name.static AnnotationType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
-
LINK
-
WIDGET
-
STAMP
-
FREETEXT
-
SIGNATURE
-
TEXT
-
LINE
-
SQUARE
-
CIRCLE
-
POLYGON
-
POLYLINE
-
HIGHLIGHT
-
UNDERLINE
-
SQUIGGLY
-
STRIKEOUT
-
CARET
-
INK
-
FILEATTACHMENT
-
SOUND
-
MOVIE
-
SCREEN
-
PRINTERMARK
-
TRAPNET
-
WATERMARK
-
THREED
-
REDACT
-
-
Field Details
-
definition
-
internalId
private int internalId -
className
-
-
Constructor Details
-
AnnotationType
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
displayAnnotation
boolean displayAnnotation()- Returns:
- true if this annotation type should be displayed else false.
-
getDefinition
- Returns:
- the definition
-
getInternalId
public int getInternalId()- Returns:
- the internalId
-
getClassName
- Returns:
- the className
-
getByDefinition
Get annotation type by it's type- Parameters:
definition-- Returns:
-