Package org.aesh.terminal
Enum Attributes.ControlFlag
- All Implemented Interfaces:
Serializable,Comparable<Attributes.ControlFlag>,java.lang.constant.Constable
- Enclosing class:
Attributes
Control flags for hardware control of terminal.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDCD flow control of output.CTS flow control of output.DSR flow control of output.DTR flow control of input.Ignore control flags.Ignore modem status lines.Enable receiver.RTS flow control of input.5 bits per character.6 bits per character.7 bits per character.8 bits per character.Send 2 stop bits.Hang up on last close.Parity enable.Odd parity, else even. -
Method Summary
Modifier and TypeMethodDescriptionstatic Attributes.ControlFlagReturns the enum constant of this type with the specified name.static Attributes.ControlFlag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CIGNORE
Ignore control flags. -
CS5
5 bits per character. -
CS6
6 bits per character. -
CS7
7 bits per character. -
CS8
8 bits per character. -
CSTOPB
Send 2 stop bits. -
CREAD
Enable receiver. -
PARENB
Parity enable. -
PARODD
Odd parity, else even. -
HUPCL
Hang up on last close. -
CLOCAL
Ignore modem status lines. -
CCTS_OFLOW
CTS flow control of output. -
CRTS_IFLOW
RTS flow control of input. -
CDTR_IFLOW
DTR flow control of input. -
CDSR_OFLOW
DSR flow control of output. -
CCAR_OFLOW
DCD flow control of output.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-