public static enum Line.Style extends java.lang.Enum<Line.Style>
| Enum Constant and Description |
|---|
DASH |
DOT |
DOT_DASH |
LONG_DASH |
SOLID |
| Modifier and Type | Method and Description |
|---|---|
static Line.Style |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Line.Style[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Line.Style SOLID
public static final Line.Style DOT
public static final Line.Style DASH
public static final Line.Style DOT_DASH
public static final Line.Style LONG_DASH
public static Line.Style[] values()
for (Line.Style c : Line.Style.values()) System.out.println(c);
public static Line.Style 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