Module com.googlecode.lanterna
Enum TerminalEmulatorDeviceConfiguration.CursorStyle
java.lang.Object
java.lang.Enum<TerminalEmulatorDeviceConfiguration.CursorStyle>
com.googlecode.lanterna.terminal.swing.TerminalEmulatorDeviceConfiguration.CursorStyle
- All Implemented Interfaces:
Serializable
,Comparable<TerminalEmulatorDeviceConfiguration.CursorStyle>
,java.lang.constant.Constable
- Enclosing class:
TerminalEmulatorDeviceConfiguration
public static enum TerminalEmulatorDeviceConfiguration.CursorStyle
extends Enum<TerminalEmulatorDeviceConfiguration.CursorStyle>
Different cursor styles supported by SwingTerminal
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe cursor is drawn by using the cursor color as the background color for the character at the cursor positionThe cursor is drawn by inverting the front- and background colors of the cursor positionThe cursor is rendered as a thick horizontal line at the bottom of the characterThe cursor is rendered as a left-side aligned vertical line -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
REVERSED
The cursor is drawn by inverting the front- and background colors of the cursor position -
FIXED_BACKGROUND
The cursor is drawn by using the cursor color as the background color for the character at the cursor position -
UNDER_BAR
The cursor is rendered as a thick horizontal line at the bottom of the character -
VERTICAL_BAR
The cursor is rendered as a left-side aligned vertical line
-
-
Constructor Details
-
CursorStyle
private CursorStyle()
-
-
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
-