public static enum Trip.SpeedShieldShape extends java.lang.Enum<Trip.SpeedShieldShape>
Enum Constant and Description |
---|
CANADA
Canada shield -square shape, value centered below "MAX" text.
|
NORMAL
Normal shield - circular shape, centered value.
|
ROUND
Generic round shield, centered value.
|
SQUARE
Generic square shield, centered value.
|
USA
USA shield -square shape, value centered below "LIMIT" text.
|
Modifier and Type | Method and Description |
---|---|
static Trip.SpeedShieldShape |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Trip.SpeedShieldShape[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Trip.SpeedShieldShape NORMAL
public static final Trip.SpeedShieldShape USA
public static final Trip.SpeedShieldShape CANADA
public static final Trip.SpeedShieldShape ROUND
public static final Trip.SpeedShieldShape SQUARE
public static Trip.SpeedShieldShape[] values()
for (Trip.SpeedShieldShape c : Trip.SpeedShieldShape.values()) System.out.println(c);
public static Trip.SpeedShieldShape 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