Enum Constant and Description |
---|
PIECES
Will draw a series of pairs of segments (first connected
to the second, the third connected to the fourth,
and so on and so forth).
|
STRIPS
Will draw a series of segments connecting each point
(first connected to the second, the second connected
to the third, and so on and so forth)
|
Modifier and Type | Method and Description |
---|---|
static Line.MODE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Line.MODE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Line.MODE STRIPS
public static final Line.MODE PIECES
public static Line.MODE[] values()
for (Line.MODE c : Line.MODE.values()) System.out.println(c);
public static Line.MODE 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