Package com.therouter.plugin
Enum LogUI
- java.lang.Object
-
- java.lang.Enum<LogUI>
-
- com.therouter.plugin.LogUI
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<LogUI>
public enum LogUI extends java.lang.Enum<LogUI>
具体规则 字背景颜色范围: 40--49 字颜色: 30--39 40: 黑 30: 黑 41:红 31: 红 42:绿 32: 绿 43:黄 33: 黄 44:蓝 34: 蓝 45:紫 35: 紫 46:深绿 36: 深绿 47:白色 37: 白色输出特效格式控制 033[0m 关闭所有属性 033[1m 设置高亮度 03[4m 下划线 033[5m 闪烁 033[7m 反显 033[8m 消隐 033[30m -- \033[37m 设置前景色 033[40m -- \033[47m 设置背景色
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetValue()static LogUIvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LogUI[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Method Detail
-
values
public static LogUI[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LogUI c : LogUI.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LogUI valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getValue
public java.lang.String getValue()
-
-