net.morbz.minecraft.blocks
Enum StainedBlock.StainedColor

java.lang.Object
  extended by java.lang.Enum<StainedBlock.StainedColor>
      extended by net.morbz.minecraft.blocks.StainedBlock.StainedColor
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<StainedBlock.StainedColor>
Enclosing class:
StainedBlock

public static enum StainedBlock.StainedColor
extends java.lang.Enum<StainedBlock.StainedColor>

The color of the stained block.


Enum Constant Summary
BLACK
           
BLUE
           
BROWN
           
CYAN
           
GRAY
           
GREEN
           
LIGHT_BLUE
           
LIGHT_GRAY
           
LIME
           
MAGENTA
           
ORANGE
           
PINK
           
PURPLE
           
RED
           
WHITE
           
YELLOW
           
 
Method Summary
 int getValue()
           
static StainedBlock.StainedColor valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StainedBlock.StainedColor[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

WHITE

public static final StainedBlock.StainedColor WHITE

ORANGE

public static final StainedBlock.StainedColor ORANGE

MAGENTA

public static final StainedBlock.StainedColor MAGENTA

LIGHT_BLUE

public static final StainedBlock.StainedColor LIGHT_BLUE

YELLOW

public static final StainedBlock.StainedColor YELLOW

LIME

public static final StainedBlock.StainedColor LIME

PINK

public static final StainedBlock.StainedColor PINK

GRAY

public static final StainedBlock.StainedColor GRAY

LIGHT_GRAY

public static final StainedBlock.StainedColor LIGHT_GRAY

CYAN

public static final StainedBlock.StainedColor CYAN

PURPLE

public static final StainedBlock.StainedColor PURPLE

BLUE

public static final StainedBlock.StainedColor BLUE

BROWN

public static final StainedBlock.StainedColor BROWN

GREEN

public static final StainedBlock.StainedColor GREEN

RED

public static final StainedBlock.StainedColor RED

BLACK

public static final StainedBlock.StainedColor BLACK
Method Detail

values

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

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

valueOf

public static StainedBlock.StainedColor valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getValue

public int getValue()