public static enum UartSettings.HandshakeEnum extends java.lang.Enum<UartSettings.HandshakeEnum>
Enum Constant and Description |
---|
CTS |
DTR_DSR |
NONE |
RTS |
RTS_CTS |
XON_XOFF |
Modifier and Type | Method and Description |
---|---|
static UartSettings.HandshakeEnum |
fromValue(java.lang.String text) |
java.lang.String |
getValue() |
java.lang.String |
toString() |
static UartSettings.HandshakeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UartSettings.HandshakeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UartSettings.HandshakeEnum NONE
public static final UartSettings.HandshakeEnum RTS
public static final UartSettings.HandshakeEnum CTS
public static final UartSettings.HandshakeEnum RTS_CTS
public static final UartSettings.HandshakeEnum DTR_DSR
public static final UartSettings.HandshakeEnum XON_XOFF
public static UartSettings.HandshakeEnum[] values()
for (UartSettings.HandshakeEnum c : UartSettings.HandshakeEnum.values()) System.out.println(c);
public static UartSettings.HandshakeEnum 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 nullpublic java.lang.String getValue()
public java.lang.String toString()
toString
in class java.lang.Enum<UartSettings.HandshakeEnum>
public static UartSettings.HandshakeEnum fromValue(java.lang.String text)