Package com.algo.rendering
Enum GralogColor.Color
- java.lang.Object
-
- java.lang.Enum<GralogColor.Color>
-
- com.algo.rendering.GralogColor.Color
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GralogColor.Color>
- Enclosing class:
- GralogColor
public static enum GralogColor.Color extends java.lang.Enum<GralogColor.Color>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
static GralogColor.Color
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GralogColor.Color[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BLACK
public static final GralogColor.Color BLACK
-
BLUE
public static final GralogColor.Color BLUE
-
GREEN
public static final GralogColor.Color GREEN
-
RED
public static final GralogColor.Color RED
-
GRAY
public static final GralogColor.Color GRAY
-
YELLOW
public static final GralogColor.Color YELLOW
-
CYAN
public static final GralogColor.Color CYAN
-
MAGENTA
public static final GralogColor.Color MAGENTA
-
SILVER
public static final GralogColor.Color SILVER
-
MAROON
public static final GralogColor.Color MAROON
-
OLIVE
public static final GralogColor.Color OLIVE
-
DARK_GREEN
public static final GralogColor.Color DARK_GREEN
-
PURPLE
public static final GralogColor.Color PURPLE
-
TEAL
public static final GralogColor.Color TEAL
-
NAVY
public static final GralogColor.Color NAVY
-
ORANGE
public static final GralogColor.Color ORANGE
-
PUCE
public static final GralogColor.Color PUCE
-
WHITE
public static final GralogColor.Color WHITE
-
-
Method Detail
-
values
public static GralogColor.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 (GralogColor.Color c : GralogColor.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 GralogColor.Color 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 namejava.lang.NullPointerException
- if the argument is null
-
getValue
public int getValue()
-
-