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
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "solid".
public static final LinePattern DOT
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "dot".
public static final LinePattern DASH
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "dash".
public static final LinePattern SHORTDOT
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "shortdot".
public static final LinePattern SHORTDASH
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "shortdash".
public static final LinePattern LONGDASH
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "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