de.cau.cs.kieler.kiml.util
Enum IDebugCanvas.Color

java.lang.Object
  extended by java.lang.Enum<IDebugCanvas.Color>
      extended by de.cau.cs.kieler.kiml.util.IDebugCanvas.Color
All Implemented Interfaces:
Comparable<IDebugCanvas.Color>
Enclosing interface:
IDebugCanvas

public static enum IDebugCanvas.Color
extends Enum<IDebugCanvas.Color>

color definitions.

Rating red

Enum Constant Summary
BLACK
          the color black.
BLUE
          the color blue.
CYAN
          the color cyan.
GRAY
          the color gray.
GREEN
          the color green.
ORANGE
          the color orange.
RED
          the color red.
WHITE
          the color white.
YELLOW
          the color yellow.
 
Method Summary
static IDebugCanvas.Color valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IDebugCanvas.Color[] 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

BLACK

public static final IDebugCanvas.Color BLACK
the color black.


BLUE

public static final IDebugCanvas.Color BLUE
the color blue.


CYAN

public static final IDebugCanvas.Color CYAN
the color cyan.


GRAY

public static final IDebugCanvas.Color GRAY
the color gray.


GREEN

public static final IDebugCanvas.Color GREEN
the color green.


ORANGE

public static final IDebugCanvas.Color ORANGE
the color orange.


RED

public static final IDebugCanvas.Color RED
the color red.


WHITE

public static final IDebugCanvas.Color WHITE
the color white.


YELLOW

public static final IDebugCanvas.Color YELLOW
the color yellow.

Method Detail

values

public static IDebugCanvas.Color[] 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 (IDebugCanvas.Color c : IDebugCanvas.Color.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IDebugCanvas.Color 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