public static enum RodFigure.DisplayType extends java.lang.Enum<RodFigure.DisplayType>
Enum Constant and Description |
---|
DATA
The state-point data view, which displays a text label with data
pertaining to a specific feature.
|
EMPTY
The default view, which just displays an empty circle.
|
GEOMETRY
The geometry view, which displays the rod as a radial slice of
materials.
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
name
The user-friendly name of the DisplayType.
|
Modifier and Type | Method and Description |
---|---|
static RodFigure.DisplayType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RodFigure.DisplayType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RodFigure.DisplayType EMPTY
public static final RodFigure.DisplayType GEOMETRY
public static final RodFigure.DisplayType DATA
public static RodFigure.DisplayType[] values()
for (RodFigure.DisplayType c : RodFigure.DisplayType.values()) System.out.println(c);
public static RodFigure.DisplayType 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 null