public enum LinePattern extends java.lang.Enum<LinePattern> implements ValueEnum
Enum Constant and Description |
---|
DASH
Dashed line
|
DOT
Dotted line
|
LONGDASH
Dashed line, with longer, more widely spaced dashes
|
SHORTDASH
Dashed line, with shorter, more tightly spaced dashes
|
SHORTDOT
Dotted line, with more tightly spaced dots
|
SOLID
Solid line
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static LinePattern |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LinePattern[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinePattern SOLID
public static final LinePattern DOT
public static final LinePattern DASH
public static final LinePattern SHORTDOT
public static final LinePattern SHORTDASH
public static final LinePattern LONGDASH
public static LinePattern[] values()
for (LinePattern c : LinePattern.values()) System.out.println(c);
public static LinePattern 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