public static enum ANSIConsoleOutput.SGRCode extends java.lang.Enum<ANSIConsoleOutput.SGRCode>
Enum Constant and Description |
---|
BLACK |
BLINK |
BLUE |
BOLD |
CONCEALED |
CYAN |
DARK |
GREEN |
ITALIC |
MAGENTA |
NEGATIVE |
ON_BLACK |
ON_BLUE |
ON_CYAN |
ON_GREEN |
ON_MAGENTA |
ON_RED |
ON_WHITE |
ON_YELLOW |
RAPID_BLINK |
RED |
RESET |
STRIKETHROUGH |
UNDERLINE |
WHITE |
YELLOW |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static ANSIConsoleOutput.SGRCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ANSIConsoleOutput.SGRCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ANSIConsoleOutput.SGRCode RESET
public static final ANSIConsoleOutput.SGRCode BOLD
public static final ANSIConsoleOutput.SGRCode DARK
public static final ANSIConsoleOutput.SGRCode ITALIC
public static final ANSIConsoleOutput.SGRCode UNDERLINE
public static final ANSIConsoleOutput.SGRCode BLINK
public static final ANSIConsoleOutput.SGRCode RAPID_BLINK
public static final ANSIConsoleOutput.SGRCode NEGATIVE
public static final ANSIConsoleOutput.SGRCode CONCEALED
public static final ANSIConsoleOutput.SGRCode STRIKETHROUGH
public static final ANSIConsoleOutput.SGRCode BLACK
public static final ANSIConsoleOutput.SGRCode RED
public static final ANSIConsoleOutput.SGRCode GREEN
public static final ANSIConsoleOutput.SGRCode YELLOW
public static final ANSIConsoleOutput.SGRCode BLUE
public static final ANSIConsoleOutput.SGRCode MAGENTA
public static final ANSIConsoleOutput.SGRCode CYAN
public static final ANSIConsoleOutput.SGRCode WHITE
public static final ANSIConsoleOutput.SGRCode ON_BLACK
public static final ANSIConsoleOutput.SGRCode ON_RED
public static final ANSIConsoleOutput.SGRCode ON_GREEN
public static final ANSIConsoleOutput.SGRCode ON_YELLOW
public static final ANSIConsoleOutput.SGRCode ON_BLUE
public static final ANSIConsoleOutput.SGRCode ON_MAGENTA
public static final ANSIConsoleOutput.SGRCode ON_CYAN
public static final ANSIConsoleOutput.SGRCode ON_WHITE
public static ANSIConsoleOutput.SGRCode[] values()
for (ANSIConsoleOutput.SGRCode c : ANSIConsoleOutput.SGRCode.values()) System.out.println(c);
public static ANSIConsoleOutput.SGRCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<ANSIConsoleOutput.SGRCode>
Copyright © 2003-2014. All Rights Reserved.