Enum AnnotationType
- java.lang.Object
-
- java.lang.Enum<AnnotationType>
-
- com.blackberry.workspaces.api.sdk.enums.AnnotationType
-
- All Implemented Interfaces:
Serializable
,Comparable<AnnotationType>
public enum AnnotationType extends Enum<AnnotationType>
An enum of the annotation types
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARROW
ArrowCIRCLE
CircleFREE_DRAWING
Free drawingHIGHLIGHT
HighlightINLINE_TEXT_COMMENT
Inline text commentLINE
LineSQUARE
SquareSTRIKEOUT
StrikeoutTEXT_COMMENT
Text commentUNDERLINE
Underline
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Enum Constant Detail
-
ARROW
public static final AnnotationType ARROW
Arrow
-
TEXT_COMMENT
public static final AnnotationType TEXT_COMMENT
Text comment
-
INLINE_TEXT_COMMENT
public static final AnnotationType INLINE_TEXT_COMMENT
Inline text comment
-
STRIKEOUT
public static final AnnotationType STRIKEOUT
Strikeout
-
UNDERLINE
public static final AnnotationType UNDERLINE
Underline
-
HIGHLIGHT
public static final AnnotationType HIGHLIGHT
Highlight
-
FREE_DRAWING
public static final AnnotationType FREE_DRAWING
Free drawing
-
LINE
public static final AnnotationType LINE
Line
-
CIRCLE
public static final AnnotationType CIRCLE
Circle
-
SQUARE
public static final AnnotationType SQUARE
Square
-
-
Method Detail
-
values
public static AnnotationType[] 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 (AnnotationType c : AnnotationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AnnotationType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-