Enum Class AnsiColor
- 所有已实现的接口:
AnsiElement,Serializable,Comparable<AnsiColor>,Constable
前景色
- 版本:
- 0.0.1
- 作者:
- scx567888
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
枚举常量概要
枚举常量枚举常量说明黑色蓝色亮黑色 ( 真的存在这种颜色吗 ?亮蓝色亮青色亮绿色亮紫色亮红色亮白色 (这个是真正的白色)亮黄色青色默认 (一般是白色)绿色紫色红色白色 (其实是有点发灰)黄色 -
方法概要
-
枚举常量详细资料
-
DEFAULT
默认 (一般是白色) -
BLACK
黑色 -
RED
红色 -
GREEN
绿色 -
YELLOW
黄色 -
BLUE
蓝色 -
MAGENTA
紫色 -
CYAN
青色 -
WHITE
白色 (其实是有点发灰) -
BRIGHT_BLACK
亮黑色 ( 真的存在这种颜色吗 ? ) -
BRIGHT_RED
亮红色 -
BRIGHT_GREEN
亮绿色 -
BRIGHT_YELLOW
亮黄色 -
BRIGHT_BLUE
亮蓝色 -
BRIGHT_MAGENTA
亮紫色 -
BRIGHT_CYAN
亮青色 -
BRIGHT_WHITE
亮白色 (这个是真正的白色)
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 如果参数为空值
-
code
code.
- 指定者:
code在接口中AnsiElement- 返回:
- the ANSI escape code
-