de.cau.cs.kieler.kiml.ui.util
Enum DebugCanvas.Color

java.lang.Object
  extended by java.lang.Enum<DebugCanvas.Color>
      extended by de.cau.cs.kieler.kiml.ui.util.DebugCanvas.Color
All Implemented Interfaces:
Serializable, Comparable<DebugCanvas.Color>
Enclosing class:
DebugCanvas

public static enum DebugCanvas.Color
extends Enum<DebugCanvas.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 DebugCanvas.Color valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DebugCanvas.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 DebugCanvas.Color BLACK
the color black.


BLUE

public static final DebugCanvas.Color BLUE
the color blue.


CYAN

public static final DebugCanvas.Color CYAN
the color cyan.


GRAY

public static final DebugCanvas.Color GRAY
the color gray.


GREEN

public static final DebugCanvas.Color GREEN
the color green.


ORANGE

public static final DebugCanvas.Color ORANGE
the color orange.


RED

public static final DebugCanvas.Color RED
the color red.


WHITE

public static final DebugCanvas.Color WHITE
the color white.


YELLOW

public static final DebugCanvas.Color YELLOW
the color yellow.

Method Detail

values

public static DebugCanvas.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 (DebugCanvas.Color c : DebugCanvas.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 DebugCanvas.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