| Enum Constant and Description |
|---|
black
.
|
blue
.
|
cyan
.
|
def
.
|
green
.
|
magenta
.
|
red
.
|
white
.
|
yellow
.
|
| Modifier and Type | Method and Description |
|---|---|
Style.Composite |
background() |
Style.Composite |
bg() |
Style.Composite |
blink() |
Style.Composite |
blink(java.lang.Boolean value) |
Style.Composite |
bold() |
Style.Composite |
bold(java.lang.Boolean value) |
Style.Composite |
fg() |
Style.Composite |
foreground() |
Style.Composite |
underline() |
Style.Composite |
underline(java.lang.Boolean value) |
static Color |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Color[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Color black
public static final Color red
public static final Color green
public static final Color yellow
public static final Color blue
public static final Color magenta
public static final Color cyan
public static final Color white
public static final Color def
public static Color[] values()
for (Color c : Color.values()) System.out.println(c);
public static Color 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 Style.Composite fg()
public Style.Composite foreground()
public Style.Composite bg()
public Style.Composite background()
public Style.Composite bold()
public Style.Composite underline()
public Style.Composite blink()
public Style.Composite bold(java.lang.Boolean value)
public Style.Composite underline(java.lang.Boolean value)
public Style.Composite blink(java.lang.Boolean value)
Copyright © 2014 eXo Platform SAS. All Rights Reserved.