public enum ConsoleFormat extends Enum<ConsoleFormat>
| Enum Constant and Description |
|---|
BLINK |
BOLD |
DIM |
HIDDEN |
REVERSE |
UNDERLINED |
| Modifier and Type | Method and Description |
|---|---|
int |
getResetCode() |
int |
getSetCode() |
String |
toString() |
static ConsoleFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsoleFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsoleFormat BOLD
public static final ConsoleFormat DIM
public static final ConsoleFormat UNDERLINED
public static final ConsoleFormat BLINK
public static final ConsoleFormat REVERSE
public static final ConsoleFormat HIDDEN
public static ConsoleFormat[] values()
for (ConsoleFormat c : ConsoleFormat.values()) System.out.println(c);
public static ConsoleFormat 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 nullpublic int getSetCode()
public int getResetCode()
public String toString()
toString in class Enum<ConsoleFormat>Copyright © 2015 Agapsys Tecnologia Ltda-ME. All rights reserved.