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

java.lang.Objectjava.lang.Enum<ResponseType>
cz.cuni.amis.pogamut.usar2004.agent.module.datatypes.ResponseType
public enum ResponseType
List of all Robot Response Types. Each type can represent only one kind of Response type. For each enum record, there exists relevant Class which can be returned on demand.
| Enum Constant Summary | |
|---|---|
CAMERA
|
|
SENSOR_EFFECTER
|
|
VIEWPORT
|
|
| Method Summary | |
|---|---|
Class |
getModuleClass()
Notice that this method is not static. |
static ResponseType |
getType(String type)
For each Response type it checks if type matches one of kinds. |
static ResponseType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ResponseType[] |
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 ResponseType CAMERA
public static final ResponseType VIEWPORT
public static final ResponseType SENSOR_EFFECTER
| Method Detail |
|---|
public static ResponseType[] values()
for (ResponseType c : ResponseType.values()) System.out.println(c);
public static ResponseType 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 ResponseType getType(String type)
type - String representation or kind of Response
public Class getModuleClass()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||