|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<OperationMode>
com.kuka.roboticsAPI.deviceModel.OperationMode
public enum OperationMode
Represents the available operation modes.
| Enum Constant Summary | |
|---|---|
AUT
Operation mode AUT was selected. |
|
KRF
Operation mode KRF was selected. |
|
T1
Operation mode T1 was selected. |
|
T2
Operation mode T2 was selected. |
|
Unknown
No operation mode was selected or unknown. |
|
| Method Summary | |
|---|---|
static OperationMode |
fromInt(int id)
Gets the operation mode defined through the given ID. |
static OperationMode |
fromName(String name)
Gets the operation mode defined through the given name. |
boolean |
isModeAuto()
Check if operation mode is AUT. |
boolean |
isModeKRF()
Check if operation mode is KRF. |
boolean |
isModeT1()
Check if operation mode is T1. |
boolean |
isModeT2()
Check if operation mode is T2. |
boolean |
isModeUnknown()
Check if operation mode is unknown. |
boolean |
isReducedSpeedTestMode()
Checks if the mode is a test operation mode with reduced maximum speeds. |
boolean |
isTestMode()
Checks if the mode is a test operation mode. |
int |
toInt()
Gets the id of the operation mode. |
String |
toString()
|
static OperationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static OperationMode[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final OperationMode Unknown
public static final OperationMode T1
public static final OperationMode T2
public static final OperationMode AUT
public static final OperationMode KRF
| Method Detail |
|---|
public static OperationMode[] values()
for (OperationMode c : OperationMode.values()) System.out.println(c);
public static OperationMode 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 toInt()
public boolean isModeUnknown()
public boolean isModeT1()
public boolean isModeT2()
public boolean isModeAuto()
public boolean isModeKRF()
public boolean isTestMode()
public boolean isReducedSpeedTestMode()
public String toString()
toString in class Enum<OperationMode>public static OperationMode fromInt(int id)
id - The id.
public static OperationMode fromName(String name)
name - The name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||