Package xyz.cofe.term.win
Enum CharAttributesFlags
- java.lang.Object
-
- java.lang.Enum<CharAttributesFlags>
-
- xyz.cofe.term.win.CharAttributesFlags
-
- All Implemented Interfaces:
Serializable,Comparable<CharAttributesFlags>,BitFlag
public enum CharAttributesFlags extends Enum<CharAttributesFlags> implements BitFlag
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intbitFlag()static CharAttributesFlagsvalueOf(String name)Returns the enum constant of this type with the specified name.static CharAttributesFlags[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FOREGROUND_BLUE
public static final CharAttributesFlags FOREGROUND_BLUE
-
FOREGROUND_GREEN
public static final CharAttributesFlags FOREGROUND_GREEN
-
FOREGROUND_RED
public static final CharAttributesFlags FOREGROUND_RED
-
FOREGROUND_INTENSITY
public static final CharAttributesFlags FOREGROUND_INTENSITY
-
BACKGROUND_BLUE
public static final CharAttributesFlags BACKGROUND_BLUE
-
BACKGROUND_GREEN
public static final CharAttributesFlags BACKGROUND_GREEN
-
BACKGROUND_RED
public static final CharAttributesFlags BACKGROUND_RED
-
BACKGROUND_INTENSITY
public static final CharAttributesFlags BACKGROUND_INTENSITY
-
COMMON_LVB_LEADING_BYTE
public static final CharAttributesFlags COMMON_LVB_LEADING_BYTE
-
COMMON_LVB_TRAILING_BYTE
public static final CharAttributesFlags COMMON_LVB_TRAILING_BYTE
-
COMMON_LVB_GRID_HORIZONTAL
public static final CharAttributesFlags COMMON_LVB_GRID_HORIZONTAL
-
COMMON_LVB_GRID_LVERTICAL
public static final CharAttributesFlags COMMON_LVB_GRID_LVERTICAL
-
COMMON_LVB_GRID_RVERTICAL
public static final CharAttributesFlags COMMON_LVB_GRID_RVERTICAL
-
COMMON_LVB_REVERSE_VIDEO
public static final CharAttributesFlags COMMON_LVB_REVERSE_VIDEO
-
COMMON_LVB_UNDERSCORE
public static final CharAttributesFlags COMMON_LVB_UNDERSCORE
-
-
Method Detail
-
values
public static CharAttributesFlags[] 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 (CharAttributesFlags c : CharAttributesFlags.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CharAttributesFlags valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-