public enum AnsiCtrl extends Enum<AnsiCtrl> implements AnsiElement
Enum Constant and Description |
---|
BS
退格
|
CR
\r
|
HT
\t
|
INSERT_MODE
插入模式
|
LF
\n
|
REPLACE_MODE
替换模式
|
START_PRIVACY_MESSAGE
开启隐私模式
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
获取元素
|
static AnsiCtrl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnsiCtrl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnsiCtrl BS
public static final AnsiCtrl HT
public static final AnsiCtrl CR
public static final AnsiCtrl LF
public static final AnsiCtrl START_PRIVACY_MESSAGE
public static final AnsiCtrl INSERT_MODE
public static final AnsiCtrl REPLACE_MODE
public static AnsiCtrl[] values()
for (AnsiCtrl c : AnsiCtrl.values()) System.out.println(c);
public static AnsiCtrl 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()
AnsiElement
toString
in interface AnsiElement
toString
in class Enum<AnsiCtrl>
Copyright © 2024. All rights reserved.