public enum IncidentStyle extends java.lang.Enum<IncidentStyle>
Enum Constant and Description |
---|
NIGHT
Creates plain dark lines without glow.
|
S1
Creates traffic lines with colored chevrons indicating severity.
|
S2
Creates plain lines with different degrees of small glow.
|
S3
Creates plain lines with more glow than S2.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Default getter that returns value of current incident style.
|
static IncidentStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IncidentStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IncidentStyle S1
public static final IncidentStyle S2
public static final IncidentStyle S3
public static final IncidentStyle NIGHT
public static IncidentStyle[] values()
for (IncidentStyle c : IncidentStyle.values()) System.out.println(c);
public static IncidentStyle 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 nullpublic int getValue()