public static enum SerialPortCommunications.FlowControl extends java.lang.Enum<SerialPortCommunications.FlowControl>
Modifier and Type | Field and Description |
---|---|
int |
mask |
Modifier and Type | Method and Description |
---|---|
static SerialPortCommunications.FlowControl |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SerialPortCommunications.FlowControl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerialPortCommunications.FlowControl Off
public static final SerialPortCommunications.FlowControl RtsCts
public static final SerialPortCommunications.FlowControl XonXoff
public static SerialPortCommunications.FlowControl[] values()
for (SerialPortCommunications.FlowControl c : SerialPortCommunications.FlowControl.values()) System.out.println(c);
public static SerialPortCommunications.FlowControl 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