|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DeviceId>
com.ionetrics.lib.annotatorcomm.DeviceId
public enum DeviceId
Device Identification
Enum Constant Summary | |
---|---|
ANNOTATOR_I
Annotator Jr Device I |
|
ANNOTATOR_II
Annotator Jr Device II |
|
ANNOTATOR_III
Annotator Jr Device III |
|
ANNOTATOR_JR
Annotator Jr Device ID |
Method Summary | |
---|---|
int |
getDeviceId()
Get the Device ID. |
java.lang.String |
toString()
Get the device name. |
static DeviceId |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DeviceId[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DeviceId ANNOTATOR_JR
public static final DeviceId ANNOTATOR_I
public static final DeviceId ANNOTATOR_II
public static final DeviceId ANNOTATOR_III
Method Detail |
---|
public static final DeviceId[] values()
for(DeviceId c : DeviceId.values()) System.out.println(c);
public static DeviceId 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 namepublic int getDeviceId()
public java.lang.String toString()
toString
in class java.lang.Enum<DeviceId>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |