|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||

java.lang.Objectjava.lang.Enum<TraceColor>
cz.cuni.amis.pogamut.usar2004.communication.messages.datatypes.TraceColor
public enum TraceColor
List of all Robot config Types. Each type can possibly represent more kinds of config of same type. For each enum record, there exists relevant Class which can be returned on demand.
| Enum Constant Summary | |
|---|---|
BLUE
|
|
CYAN
|
|
GREEN
|
|
PURPLE
|
|
RED
|
|
WHITE
|
|
YELLOW
|
|
| Method Summary | |
|---|---|
String |
getName()
Note that this method is not static. |
static TraceColor |
getType(String type)
For each config type it checks if type matches one of kinds. |
static TraceColor |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TraceColor[] |
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 |
|---|
public static final TraceColor RED
public static final TraceColor YELLOW
public static final TraceColor GREEN
public static final TraceColor CYAN
public static final TraceColor WHITE
public static final TraceColor BLUE
public static final TraceColor PURPLE
| Method Detail |
|---|
public static TraceColor[] values()
for (TraceColor c : TraceColor.values()) System.out.println(c);
public static TraceColor valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static TraceColor getType(String type)
type - String representation or kind of Config
public String getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||