public static enum SerialComm.ControlSignal extends java.lang.Enum<SerialComm.ControlSignal>
Enum Constant and Description |
---|
CTS
Clear To Send
|
DCD
Data Carrier Detect
|
DSR
Data Set Ready
|
DTR
Data Terminal Ready
|
RI
Ring Indicator
|
RTS
Request To Send
|
Modifier and Type | Method and Description |
---|---|
static SerialComm.ControlSignal |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SerialComm.ControlSignal[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerialComm.ControlSignal DTR
public static final SerialComm.ControlSignal DCD
public static final SerialComm.ControlSignal DSR
public static final SerialComm.ControlSignal RI
public static final SerialComm.ControlSignal RTS
public static final SerialComm.ControlSignal CTS
public static SerialComm.ControlSignal[] values()
for (SerialComm.ControlSignal c : SerialComm.ControlSignal.values()) System.out.println(c);
public static SerialComm.ControlSignal 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 namejava.lang.NullPointerException
- if the argument is null