public static enum Terminal.SGR extends Enum<Terminal.SGR>
Enum Constant and Description |
---|
ENTER_BLINK
This code may not be supported by all terminals/terminal emulators
|
ENTER_BOLD
Please note that on some terminal implementations, instead of making
the text bold, it will draw the text in a slightly different color
|
ENTER_REVERSE |
ENTER_UNDERLINE |
EXIT_BLINK |
EXIT_BOLD |
EXIT_REVERSE |
EXIT_UNDERLINE |
RESET_ALL
Removes any code SGR code currently enabled
|
Modifier and Type | Method and Description |
---|---|
static Terminal.SGR |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Terminal.SGR[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Terminal.SGR RESET_ALL
public static final Terminal.SGR ENTER_BOLD
public static final Terminal.SGR ENTER_REVERSE
public static final Terminal.SGR ENTER_UNDERLINE
public static final Terminal.SGR ENTER_BLINK
public static final Terminal.SGR EXIT_BOLD
public static final Terminal.SGR EXIT_REVERSE
public static final Terminal.SGR EXIT_UNDERLINE
public static final Terminal.SGR EXIT_BLINK
public static Terminal.SGR[] values()
for (Terminal.SGR c : Terminal.SGR.values()) System.out.println(c);
public static Terminal.SGR valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015. All Rights Reserved.