Package com.saperion.annotation
Enum AbstractAnnotation.AnnotationProperty
- java.lang.Object
-
- java.lang.Enum<AbstractAnnotation.AnnotationProperty>
-
- com.saperion.annotation.AbstractAnnotation.AnnotationProperty
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AbstractAnnotation.AnnotationProperty>
- Enclosing class:
- AbstractAnnotation
public static enum AbstractAnnotation.AnnotationProperty extends java.lang.Enum<AbstractAnnotation.AnnotationProperty>
Properties of annotations.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BORDER
Text border.COLOR
Color of text or arrow.CUSTOMPROPERTY
Customproperty set by backend.EDIT
Whether the annotation can be edited (1 or 0).FILLCOLOR
Fill-color of a highlight.FONT_BOLD
Bold text (0 or 1).FONT_HEIGHT
Text fontheight.FONT_ITALIC
Italic text (0 or 1).FONT_NAME
Font name.FONT_STRIKETHROUGH
Strike through text (0 or 1).FONT_UNDERLINE
Underline text (0 or 1).HEIGHT
Annotation height.LABEL
Label of the annotation.LINEWIDTH
An arrow's line width.PAGE
Page number.READONLY
Readonly mode (0 or 1).SEMITRANSPARENT
Semitransparent mode of text.SIMPLELINE
Simpleline for arrow set by backend (0 or 1)TEXT
Text content.TRANSPARENT
Transparent mode of text or highlight (1 or 0).WIDTH
Annotation width.X
X-coordinate.X1
X-coordinate of an arrow's start-point.X2
X-coordinate of an arrow's end-point.Y
Y-coordinate.Y1
Y-coordinate of an arrow's start-point.Y2
Y-coordinate of an arrow's end-point.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractAnnotation.AnnotationProperty
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AbstractAnnotation.AnnotationProperty[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
X1
public static final AbstractAnnotation.AnnotationProperty X1
X-coordinate of an arrow's start-point.
-
Y1
public static final AbstractAnnotation.AnnotationProperty Y1
Y-coordinate of an arrow's start-point.
-
X2
public static final AbstractAnnotation.AnnotationProperty X2
X-coordinate of an arrow's end-point.
-
Y2
public static final AbstractAnnotation.AnnotationProperty Y2
Y-coordinate of an arrow's end-point.
-
PAGE
public static final AbstractAnnotation.AnnotationProperty PAGE
Page number.
-
EDIT
public static final AbstractAnnotation.AnnotationProperty EDIT
Whether the annotation can be edited (1 or 0).
-
LABEL
public static final AbstractAnnotation.AnnotationProperty LABEL
Label of the annotation.
-
COLOR
public static final AbstractAnnotation.AnnotationProperty COLOR
Color of text or arrow.
-
LINEWIDTH
public static final AbstractAnnotation.AnnotationProperty LINEWIDTH
An arrow's line width.
-
X
public static final AbstractAnnotation.AnnotationProperty X
X-coordinate.
-
Y
public static final AbstractAnnotation.AnnotationProperty Y
Y-coordinate.
-
WIDTH
public static final AbstractAnnotation.AnnotationProperty WIDTH
Annotation width.
-
HEIGHT
public static final AbstractAnnotation.AnnotationProperty HEIGHT
Annotation height.
-
FILLCOLOR
public static final AbstractAnnotation.AnnotationProperty FILLCOLOR
Fill-color of a highlight.
-
TRANSPARENT
public static final AbstractAnnotation.AnnotationProperty TRANSPARENT
Transparent mode of text or highlight (1 or 0).
-
TEXT
public static final AbstractAnnotation.AnnotationProperty TEXT
Text content.
-
FONT_HEIGHT
public static final AbstractAnnotation.AnnotationProperty FONT_HEIGHT
Text fontheight.
-
BORDER
public static final AbstractAnnotation.AnnotationProperty BORDER
Text border.
-
SEMITRANSPARENT
public static final AbstractAnnotation.AnnotationProperty SEMITRANSPARENT
Semitransparent mode of text.
-
FONT_NAME
public static final AbstractAnnotation.AnnotationProperty FONT_NAME
Font name.
-
FONT_BOLD
public static final AbstractAnnotation.AnnotationProperty FONT_BOLD
Bold text (0 or 1).
-
FONT_ITALIC
public static final AbstractAnnotation.AnnotationProperty FONT_ITALIC
Italic text (0 or 1).
-
FONT_UNDERLINE
public static final AbstractAnnotation.AnnotationProperty FONT_UNDERLINE
Underline text (0 or 1).
-
FONT_STRIKETHROUGH
public static final AbstractAnnotation.AnnotationProperty FONT_STRIKETHROUGH
Strike through text (0 or 1).
-
READONLY
public static final AbstractAnnotation.AnnotationProperty READONLY
Readonly mode (0 or 1).
-
SIMPLELINE
public static final AbstractAnnotation.AnnotationProperty SIMPLELINE
Simpleline for arrow set by backend (0 or 1)
-
CUSTOMPROPERTY
public static final AbstractAnnotation.AnnotationProperty CUSTOMPROPERTY
Customproperty set by backend.
-
-
Method Detail
-
values
public static AbstractAnnotation.AnnotationProperty[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AbstractAnnotation.AnnotationProperty c : AbstractAnnotation.AnnotationProperty.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractAnnotation.AnnotationProperty valueOf(java.lang.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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-