Serializable
, Comparable<TerminalEmulatorDeviceConfiguration.CursorStyle>
public static enum TerminalEmulatorDeviceConfiguration.CursorStyle extends Enum<TerminalEmulatorDeviceConfiguration.CursorStyle>
Enum Constant | Description |
---|---|
FIXED_BACKGROUND |
The cursor is drawn by using the cursor color as the background color for the character at the cursor position
|
REVERSED |
The cursor is drawn by inverting the front- and background colors of 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
|
Modifier and Type | Method | Description |
---|---|---|
static TerminalEmulatorDeviceConfiguration.CursorStyle |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static TerminalEmulatorDeviceConfiguration.CursorStyle[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TerminalEmulatorDeviceConfiguration.CursorStyle REVERSED
public static final TerminalEmulatorDeviceConfiguration.CursorStyle FIXED_BACKGROUND
public static final TerminalEmulatorDeviceConfiguration.CursorStyle UNDER_BAR
public static final TerminalEmulatorDeviceConfiguration.CursorStyle VERTICAL_BAR
public static TerminalEmulatorDeviceConfiguration.CursorStyle[] values()
for (TerminalEmulatorDeviceConfiguration.CursorStyle c : TerminalEmulatorDeviceConfiguration.CursorStyle.values()) System.out.println(c);
public static TerminalEmulatorDeviceConfiguration.CursorStyle 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 © 2020. All rights reserved.