|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TIO.OperationMode>
com.stollmann.terminalIO.TIO.OperationMode
public static enum TIO.OperationMode
TerminalIO peripheral operation mode constants.
Enum Constant Summary | |
---|---|
BondableFunctional
The peripheral is in bondable and functional mode. |
|
BondingOnly
The peripheral is (temporarily) in bonding operation mode. |
|
Functional
The peripheral is in functional operation mode. |
Method Summary | |
---|---|
boolean |
equals(TIO.OperationMode operationMode)
Compares this value an another value for equality. |
static TIO.OperationMode |
fromValue(int value)
Creates a TIO.OperationMode value from an integer value. |
int |
getValue()
Gets this value's Integer value. |
static TIO.OperationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TIO.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 |
---|
compareTo, equals, 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 TIO.OperationMode BondableFunctional
public static final TIO.OperationMode BondingOnly
public static final TIO.OperationMode Functional
Method Detail |
---|
public boolean equals(TIO.OperationMode operationMode)
operationMode
- TIO.OperationMode value to compare this value to.
true
if both value are equal, false
otherwise.public static TIO.OperationMode fromValue(int value)
value
- The Integer to create a TIO.OperationMode value from.
public int getValue()
public static TIO.OperationMode 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
java.lang.NullPointerException
- if the argument is nullpublic static TIO.OperationMode[] values()
for (TIO.OperationMode c : TIO.OperationMode.values()) System.out.println(c);
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |