com.jidesoft.chart
Enum PointShape
java.lang.Object
java.lang.Enum<PointShape>
com.jidesoft.chart.PointShape
- All Implemented Interfaces:
- Serializable, Comparable<PointShape>
public enum PointShape
- extends Enum<PointShape>
Provides predefined shapes for points
- Author:
- Simon White (swhite@catalysoft.com)
Method Summary |
static PointShape |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PointShape[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
CIRCLE
public static final PointShape CIRCLE
DISC
public static final PointShape DISC
SQUARE
public static final PointShape SQUARE
BOX
public static final PointShape BOX
DIAMOND
public static final PointShape DIAMOND
DOWN_TRIANGLE
public static final PointShape DOWN_TRIANGLE
UP_TRIANGLE
public static final PointShape UP_TRIANGLE
HORIZONTAL_LINE
public static final PointShape HORIZONTAL_LINE
VERTICAL_LINE
public static final PointShape VERTICAL_LINE
UPRIGHT_CROSS
public static final PointShape UPRIGHT_CROSS
DIAGONAL_CROSS
public static final PointShape DIAGONAL_CROSS
values
public static PointShape[] 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 (PointShape c : PointShape.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static PointShape 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 name
NullPointerException
- if the argument is null