org.jbehave.core.reporters
Enum ANSIConsoleOutput.SGRCode
java.lang.Object
java.lang.Enum<ANSIConsoleOutput.SGRCode>
org.jbehave.core.reporters.ANSIConsoleOutput.SGRCode
- All Implemented Interfaces:
- Serializable, Comparable<ANSIConsoleOutput.SGRCode>
- Enclosing class:
- ANSIConsoleOutput
public static enum ANSIConsoleOutput.SGRCode
- extends Enum<ANSIConsoleOutput.SGRCode>
RESET
public static final ANSIConsoleOutput.SGRCode RESET
BOLD
public static final ANSIConsoleOutput.SGRCode BOLD
DARK
public static final ANSIConsoleOutput.SGRCode DARK
ITALIC
public static final ANSIConsoleOutput.SGRCode ITALIC
UNDERLINE
public static final ANSIConsoleOutput.SGRCode UNDERLINE
BLINK
public static final ANSIConsoleOutput.SGRCode BLINK
RAPID_BLINK
public static final ANSIConsoleOutput.SGRCode RAPID_BLINK
NEGATIVE
public static final ANSIConsoleOutput.SGRCode NEGATIVE
CONCEALED
public static final ANSIConsoleOutput.SGRCode CONCEALED
STRIKETHROUGH
public static final ANSIConsoleOutput.SGRCode STRIKETHROUGH
BLACK
public static final ANSIConsoleOutput.SGRCode BLACK
RED
public static final ANSIConsoleOutput.SGRCode RED
GREEN
public static final ANSIConsoleOutput.SGRCode GREEN
YELLOW
public static final ANSIConsoleOutput.SGRCode YELLOW
BLUE
public static final ANSIConsoleOutput.SGRCode BLUE
MAGENTA
public static final ANSIConsoleOutput.SGRCode MAGENTA
CYAN
public static final ANSIConsoleOutput.SGRCode CYAN
WHITE
public static final ANSIConsoleOutput.SGRCode WHITE
ON_BLACK
public static final ANSIConsoleOutput.SGRCode ON_BLACK
ON_RED
public static final ANSIConsoleOutput.SGRCode ON_RED
ON_GREEN
public static final ANSIConsoleOutput.SGRCode ON_GREEN
ON_YELLOW
public static final ANSIConsoleOutput.SGRCode ON_YELLOW
ON_BLUE
public static final ANSIConsoleOutput.SGRCode ON_BLUE
ON_MAGENTA
public static final ANSIConsoleOutput.SGRCode ON_MAGENTA
ON_CYAN
public static final ANSIConsoleOutput.SGRCode ON_CYAN
ON_WHITE
public static final ANSIConsoleOutput.SGRCode ON_WHITE
values
public static ANSIConsoleOutput.SGRCode[] 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 (ANSIConsoleOutput.SGRCode c : ANSIConsoleOutput.SGRCode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ANSIConsoleOutput.SGRCode 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 name
NullPointerException
- if the argument is null
toString
public String toString()
- Overrides:
toString
in class Enum<ANSIConsoleOutput.SGRCode>
Copyright © 2003-2012. All Rights Reserved.