public enum AnnotationType extends java.lang.Enum<AnnotationType>
Enum Constant and Description |
---|
CloudCallout |
Diamond |
DownArrow |
Ellipse |
FivePointedStar |
FourPointedStar |
Hexagon |
LeftArrow |
None |
OvalCallout |
Pentagon |
Rectangle |
RectangularCallout |
RightArrow |
RightTriangle |
RoundedRectangularCallout |
RoundRectangle |
SixPointedStar |
Triangle |
UpArrow |
Modifier and Type | Method and Description |
---|---|
abstract java.awt.Shape |
getShape(java.awt.geom.Rectangle2D frame) |
static AnnotationType |
valueOf(java.lang.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.
|
public static final AnnotationType None
public static final AnnotationType Rectangle
public static final AnnotationType RoundRectangle
public static final AnnotationType Ellipse
public static final AnnotationType OvalCallout
public static final AnnotationType RoundedRectangularCallout
public static final AnnotationType RectangularCallout
public static final AnnotationType CloudCallout
public static final AnnotationType Triangle
public static final AnnotationType RightTriangle
public static final AnnotationType Diamond
public static final AnnotationType Pentagon
public static final AnnotationType Hexagon
public static final AnnotationType RightArrow
public static final AnnotationType LeftArrow
public static final AnnotationType UpArrow
public static final AnnotationType DownArrow
public static final AnnotationType FourPointedStar
public static final AnnotationType FivePointedStar
public static final AnnotationType SixPointedStar
public static AnnotationType[] values()
for (AnnotationType c : AnnotationType.values()) System.out.println(c);
public static AnnotationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract java.awt.Shape getShape(java.awt.geom.Rectangle2D frame)