public static enum SerialPort.FlowControl extends Enum<SerialPort.FlowControl>
| Enum Constant and Description |
|---|
NONE
No flow control.
|
RTS_CTS
Hardware flow control.
|
XON_XOFF
Software flow control.
|
| Modifier and Type | Method and Description |
|---|---|
static SerialPort.FlowControl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerialPort.FlowControl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerialPort.FlowControl RTS_CTS
public static final SerialPort.FlowControl XON_XOFF
public static final SerialPort.FlowControl NONE
public static SerialPort.FlowControl[] values()
for (SerialPort.FlowControl c : SerialPort.FlowControl.values()) System.out.println(c);
public static SerialPort.FlowControl valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2011. All Rights Reserved.