public enum PolylineStyle extends Enum<PolylineStyle> implements Enumeration
PolylinePrimitive
Enum Constant and Description |
---|
DASH_DOT
A line made up of dashes followed by a single dot.
|
DOTTED
A dotted line.
|
LONG_DASH
A line made up of long dashes.
|
SHORT_DASH
A line made up of short dashes.
|
SOLID
A solid line.
|
Modifier and Type | Method and Description |
---|---|
static PolylineStyle |
getDefault()
Get the enum constant that is considered to be the default.
|
static PolylineStyle |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static PolylineStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PolylineStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PolylineStyle SOLID
public static final PolylineStyle DOTTED
public static final PolylineStyle SHORT_DASH
public static final PolylineStyle LONG_DASH
public static final PolylineStyle DASH_DOT
public static PolylineStyle[] values()
for (PolylineStyle c : PolylineStyle.values()) System.out.println(c);
public static PolylineStyle valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
getValue
in interface Enumeration
@Nonnull public static PolylineStyle getFromValue(int value)
value
- a numeric value.@Nonnull public static PolylineStyle getDefault()