public enum AnsiCursorStyle extends Enum<AnsiCursorStyle> implements AnsiElement
| Enum Constant and Description |
|---|
BLINK_BAR
闪烁竖线
|
BLINK_BLOCK
闪烁块
|
BLINK_UNDERLINE
闪烁下滑线
|
STEADY_BAR
数显
|
STEADY_BLOCK
块
|
STEADY_UNDERLINE
下滑线
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
获取元素
|
static AnsiCursorStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnsiCursorStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnsiCursorStyle STEADY_BLOCK
public static final AnsiCursorStyle BLINK_BLOCK
public static final AnsiCursorStyle STEADY_UNDERLINE
public static final AnsiCursorStyle BLINK_UNDERLINE
public static final AnsiCursorStyle STEADY_BAR
public static final AnsiCursorStyle BLINK_BAR
public static AnsiCursorStyle[] values()
for (AnsiCursorStyle c : AnsiCursorStyle.values()) System.out.println(c);
public static AnsiCursorStyle 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 nullpublic String toString()
AnsiElementtoString in interface AnsiElementtoString in class Enum<AnsiCursorStyle>Copyright © 2025. All rights reserved.