|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<SunriseCommandType>
com.kuka.roboticsAPI.controllerModel.sunrise.SunriseCommandType
public enum SunriseCommandType
Defined the possible command types for sunrise.
| Enum Constant Summary | |
|---|---|
Cancel
Cancel command type. |
|
CloseAPI
Tells Sunrise to terminate the API. |
|
CloseConnections
Tells Sunrise to terminate the connection. |
|
SPR
SPR command type. |
|
Unknwon
Unknown command type. |
|
Update
Update command type. |
|
| Method Summary | |
|---|---|
static SunriseCommandType |
fromId(int id)
Creates a command type out of it's id. |
int |
getId()
Gets the id of the command type. |
static SunriseCommandType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SunriseCommandType[] |
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 SunriseCommandType Unknwon
public static final SunriseCommandType SPR
public static final SunriseCommandType Cancel
public static final SunriseCommandType Update
public static final SunriseCommandType CloseAPI
public static final SunriseCommandType CloseConnections
| Method Detail |
|---|
public static SunriseCommandType[] values()
for (SunriseCommandType c : SunriseCommandType.values()) System.out.println(c);
public static SunriseCommandType 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 int getId()
public static SunriseCommandType fromId(int id)
id - The id of the command type. If the id is not known, Unknown
will be returned.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||