becker.robots.icons
Enum IntersectionIcon.Area

java.lang.Object
  extended by java.lang.Enum<IntersectionIcon.Area>
      extended by 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.


Enum Constant Summary
CENTER
           
EAST
           
NORTH
           
NORTHEAST
           
NORTHWEST
           
SOUTH
           
SOUTHEAST
           
SOUTHWEST
           
WEST
           
 
Method Summary
static IntersectionIcon.Area valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IntersectionIcon.Area[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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