Package io.cucumber.prettyformatter
Enum Ansi.Attributes
- java.lang.Object
-
- java.lang.Enum<Ansi.Attributes>
-
- io.cucumber.prettyformatter.Ansi.Attributes
-
- All Implemented Interfaces:
Serializable,Comparable<Ansi.Attributes>
- Enclosing class:
- Ansi
public static enum Ansi.Attributes extends Enum<Ansi.Attributes>
A select number of attributes from all the available Select Graphic Rendition attributes.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Ansi.AttributesvalueOf(String name)Returns the enum constant of this type with the specified name.static Ansi.Attributes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESET
public static final Ansi.Attributes RESET
-
BOLD
public static final Ansi.Attributes BOLD
-
BOLD_OFF
public static final Ansi.Attributes BOLD_OFF
-
FAINT
public static final Ansi.Attributes FAINT
-
FAINT_OFF
public static final Ansi.Attributes FAINT_OFF
-
ITALIC
public static final Ansi.Attributes ITALIC
-
ITALIC_OFF
public static final Ansi.Attributes ITALIC_OFF
-
UNDERLINE
public static final Ansi.Attributes UNDERLINE
-
UNDERLINE_OFF
public static final Ansi.Attributes UNDERLINE_OFF
-
INTENSITY_ITALIC
public static final Ansi.Attributes INTENSITY_ITALIC
-
INTENSITY_ITALIC_OFF
public static final Ansi.Attributes INTENSITY_ITALIC_OFF
-
FOREGROUND_BLACK
public static final Ansi.Attributes FOREGROUND_BLACK
-
FOREGROUND_RED
public static final Ansi.Attributes FOREGROUND_RED
-
FOREGROUND_GREEN
public static final Ansi.Attributes FOREGROUND_GREEN
-
FOREGROUND_YELLOW
public static final Ansi.Attributes FOREGROUND_YELLOW
-
FOREGROUND_BLUE
public static final Ansi.Attributes FOREGROUND_BLUE
-
FOREGROUND_MAGENTA
public static final Ansi.Attributes FOREGROUND_MAGENTA
-
FOREGROUND_CYAN
public static final Ansi.Attributes FOREGROUND_CYAN
-
FOREGROUND_WHITE
public static final Ansi.Attributes FOREGROUND_WHITE
-
FOREGROUND_DEFAULT
public static final Ansi.Attributes FOREGROUND_DEFAULT
-
BACKGROUND_BLACK
public static final Ansi.Attributes BACKGROUND_BLACK
-
BACKGROUND_RED
public static final Ansi.Attributes BACKGROUND_RED
-
BACKGROUND_GREEN
public static final Ansi.Attributes BACKGROUND_GREEN
-
BACKGROUND_YELLOW
public static final Ansi.Attributes BACKGROUND_YELLOW
-
BACKGROUND_BLUE
public static final Ansi.Attributes BACKGROUND_BLUE
-
BACKGROUND_MAGENTA
public static final Ansi.Attributes BACKGROUND_MAGENTA
-
BACKGROUND_CYAN
public static final Ansi.Attributes BACKGROUND_CYAN
-
BACKGROUND_WHITE
public static final Ansi.Attributes BACKGROUND_WHITE
-
BACKGROUND_DEFAULT
public static final Ansi.Attributes BACKGROUND_DEFAULT
-
FOREGROUND_BRIGHT_BLACK
public static final Ansi.Attributes FOREGROUND_BRIGHT_BLACK
-
FOREGROUND_BRIGHT_RED
public static final Ansi.Attributes FOREGROUND_BRIGHT_RED
-
FOREGROUND_BRIGHT_GREEN
public static final Ansi.Attributes FOREGROUND_BRIGHT_GREEN
-
FOREGROUND_BRIGHT_YELLOW
public static final Ansi.Attributes FOREGROUND_BRIGHT_YELLOW
-
FOREGROUND_BRIGHT_BLUE
public static final Ansi.Attributes FOREGROUND_BRIGHT_BLUE
-
FOREGROUND_BRIGHT_MAGENTA
public static final Ansi.Attributes FOREGROUND_BRIGHT_MAGENTA
-
FOREGROUND_BRIGHT_CYAN
public static final Ansi.Attributes FOREGROUND_BRIGHT_CYAN
-
FOREGROUND_BRIGHT_WHITE
public static final Ansi.Attributes FOREGROUND_BRIGHT_WHITE
-
BACKGROUND_BRIGHT_BLACK
public static final Ansi.Attributes BACKGROUND_BRIGHT_BLACK
-
BACKGROUND_BRIGHT_RED
public static final Ansi.Attributes BACKGROUND_BRIGHT_RED
-
BACKGROUND_BRIGHT_GREEN
public static final Ansi.Attributes BACKGROUND_BRIGHT_GREEN
-
BACKGROUND_BRIGHT_YELLOW
public static final Ansi.Attributes BACKGROUND_BRIGHT_YELLOW
-
BACKGROUND_BRIGHT_BLUE
public static final Ansi.Attributes BACKGROUND_BRIGHT_BLUE
-
BACKGROUND_BRIGHT_MAGENTA
public static final Ansi.Attributes BACKGROUND_BRIGHT_MAGENTA
-
BACKGROUND_BRIGHT_CYAN
public static final Ansi.Attributes BACKGROUND_BRIGHT_CYAN
-
BACKGROUND_BRIGHT_WHITE
public static final Ansi.Attributes BACKGROUND_BRIGHT_WHITE
-
-
Method Detail
-
values
public static Ansi.Attributes[] 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 (Ansi.Attributes c : Ansi.Attributes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Ansi.Attributes 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
-
-