|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<AnnotationType>
com.groupdocs.annotation.domain.AnnotationType
public enum AnnotationType
Annotation type
| Enum Constant Summary | |
|---|---|
AREA
|
|
GRAPHICS
|
|
POINT
|
|
POLYLINE
|
|
REPLACEMENT
|
|
STRIKEOUT
|
|
TEXT
|
|
TYPEWRITER
|
|
WATERMARK
|
|
| Method Summary | |
|---|---|
boolean |
equalsName(int id)
Check if annotation type is equal |
static AnnotationType |
fromValue(int id)
Get annotation type by id |
String |
toString()
Convert id to string |
int |
value()
Get id |
static AnnotationType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AnnotationType[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final AnnotationType TEXT
public static final AnnotationType AREA
public static final AnnotationType POINT
public static final AnnotationType STRIKEOUT
public static final AnnotationType POLYLINE
public static final AnnotationType TYPEWRITER
public static final AnnotationType WATERMARK
public static final AnnotationType REPLACEMENT
public static final AnnotationType GRAPHICS
| Method Detail |
|---|
public static AnnotationType[] values()
for (AnnotationType c : AnnotationType.values()) System.out.println(c);
public static AnnotationType 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 boolean equalsName(int id)
id - annotation type id to compare
public String toString()
toString in class Enum<AnnotationType>public static AnnotationType fromValue(int id)
id - annotation type id
public int value()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||