Package org.jline.terminal
Enum Attributes.ControlChar
- java.lang.Object
-
- java.lang.Enum<Attributes.ControlChar>
-
- org.jline.terminal.Attributes.ControlChar
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Attributes.ControlChar>
- Enclosing class:
- Attributes
public static enum Attributes.ControlChar extends java.lang.Enum<Attributes.ControlChar>
Control characters
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Attributes.ControlChar
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Attributes.ControlChar[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VEOF
public static final Attributes.ControlChar VEOF
-
VEOL
public static final Attributes.ControlChar VEOL
-
VEOL2
public static final Attributes.ControlChar VEOL2
-
VERASE
public static final Attributes.ControlChar VERASE
-
VWERASE
public static final Attributes.ControlChar VWERASE
-
VKILL
public static final Attributes.ControlChar VKILL
-
VREPRINT
public static final Attributes.ControlChar VREPRINT
-
VINTR
public static final Attributes.ControlChar VINTR
-
VQUIT
public static final Attributes.ControlChar VQUIT
-
VSUSP
public static final Attributes.ControlChar VSUSP
-
VDSUSP
public static final Attributes.ControlChar VDSUSP
-
VSTART
public static final Attributes.ControlChar VSTART
-
VSTOP
public static final Attributes.ControlChar VSTOP
-
VLNEXT
public static final Attributes.ControlChar VLNEXT
-
VDISCARD
public static final Attributes.ControlChar VDISCARD
-
VMIN
public static final Attributes.ControlChar VMIN
-
VTIME
public static final Attributes.ControlChar VTIME
-
VSTATUS
public static final Attributes.ControlChar VSTATUS
-
-
Method Detail
-
values
public static Attributes.ControlChar[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Attributes.ControlChar c : Attributes.ControlChar.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Attributes.ControlChar valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-