js.dev.cam.sbig
Enum DEVICE_TYPE
java.lang.Object
java.lang.Enum<DEVICE_TYPE>
js.dev.cam.sbig.DEVICE_TYPE
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<DEVICE_TYPE>
public enum DEVICE_TYPE
- extends java.lang.Enum<DEVICE_TYPE>
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 |
DEV_NONE
public static final DEVICE_TYPE DEV_NONE
DEV_LPT1
public static final DEVICE_TYPE DEV_LPT1
DEV_LPT2
public static final DEVICE_TYPE DEV_LPT2
DEV_LPT3
public static final DEVICE_TYPE DEV_LPT3
DEV_USB
public static final DEVICE_TYPE DEV_USB
DEV_ETH
public static final DEVICE_TYPE DEV_ETH
DEV_USB1
public static final DEVICE_TYPE DEV_USB1
DEV_USB2
public static final DEVICE_TYPE DEV_USB2
DEV_USB3
public static final DEVICE_TYPE DEV_USB3
DEV_USB4
public static final DEVICE_TYPE DEV_USB4
values
public static DEVICE_TYPE[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (DEVICE_TYPE c : DEVICE_TYPE.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DEVICE_TYPE valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
getDeviceType
public final int getDeviceType()
- Returns:
- the deviceType.
getDeviceType
public DEVICE_TYPE getDeviceType(int value)
- Parameters:
value
- the integer value.
- Returns:
- DEVICE_TYPE