public enum ShellColor extends Enum<ShellColor>
| Enum Constant and Description |
|---|
BLACK |
BLUE |
BOLD |
CYAN |
GREEN |
ITALIC |
MAGENTA |
NONE |
RED |
STRIKEOUT |
UNDERLINE |
WHITE |
YELLOW |
| Modifier and Type | Method and Description |
|---|---|
static ShellColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShellColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShellColor NONE
public static final ShellColor BLACK
public static final ShellColor BLUE
public static final ShellColor CYAN
public static final ShellColor GREEN
public static final ShellColor MAGENTA
public static final ShellColor RED
public static final ShellColor YELLOW
public static final ShellColor WHITE
public static final ShellColor BOLD
public static final ShellColor ITALIC
public static final ShellColor UNDERLINE
public static final ShellColor STRIKEOUT
public static ShellColor[] values()
for (ShellColor c : ShellColor.values()) System.out.println(c);
public static ShellColor 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 © 2013 JBoss by Red Hat. All Rights Reserved.