Enum Constant and Description |
---|
BAR_HORIZONTAL |
BAR_VERTICAL |
CIRCLE |
DIAMOND |
OVAL |
SQUARE |
TRIANGLE_DOWN |
TRIANGLE_LEFT |
TRIANGLE_RIGHT |
TRIANGLE_UP |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
java.awt.Shape |
getShape() |
java.lang.String |
toString() |
static PointType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PointType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PointType TRIANGLE_UP
public static final PointType BAR_HORIZONTAL
public static final PointType TRIANGLE_DOWN
public static final PointType TRIANGLE_RIGHT
public static final PointType BAR_VERTICAL
public static final PointType TRIANGLE_LEFT
public static PointType[] values()
for (PointType c : PointType.values()) System.out.println(c);
public static PointType 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 java.awt.Shape getShape()
public java.lang.String getDescription()