becker.robots.icons
Enum IntersectionIcon.Area
java.lang.Object
java.lang.Enum<IntersectionIcon.Area>
becker.robots.icons.IntersectionIcon.Area
- All Implemented Interfaces:
- Serializable, Comparable<IntersectionIcon.Area>
- Enclosing class:
- IntersectionIcon
public static enum IntersectionIcon.Area
- extends Enum<IntersectionIcon.Area>
An enumeration to specify the different areas of an IntersectionIcon.
EAST
public static final IntersectionIcon.Area EAST
SOUTHEAST
public static final IntersectionIcon.Area SOUTHEAST
SOUTH
public static final IntersectionIcon.Area SOUTH
SOUTHWEST
public static final IntersectionIcon.Area SOUTHWEST
WEST
public static final IntersectionIcon.Area WEST
NORTHWEST
public static final IntersectionIcon.Area NORTHWEST
NORTH
public static final IntersectionIcon.Area NORTH
NORTHEAST
public static final IntersectionIcon.Area NORTHEAST
CENTER
public static final IntersectionIcon.Area CENTER
values
public static IntersectionIcon.Area[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (IntersectionIcon.Area c : IntersectionIcon.Area.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static IntersectionIcon.Area valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null