|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<StandardColor>
caltool.schedule.StandardColor
public enum StandardColor
A StandardColor is one of a fixed set of possibilities for use in color coding a cateogry. The possible values are "Black", "Brown", "Red", "Orange", "Yellow", "Green", "Blue", or "Purple".
Enum Constant Summary | |
---|---|
Black
One of the built-in category colors |
|
Blue
One of the built-in category colors |
|
Brown
One of the built-in category colors |
|
Green
One of the built-in category colors |
|
Orange
One of the built-in category colors |
|
Purple
One of the built-in category colors |
|
Red
One of the built-in category colors |
|
Yellow
One of the built-in category colors |
Method Summary | |
---|---|
static StandardColor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static StandardColor[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final StandardColor Black
public static final StandardColor Brown
public static final StandardColor Red
public static final StandardColor Orange
public static final StandardColor Yellow
public static final StandardColor Green
public static final StandardColor Blue
public static final StandardColor Purple
Method Detail |
---|
public static final StandardColor[] values()
for(StandardColor c : StandardColor.values()) System.out.println(c);
public static StandardColor valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |