public enum Decoration extends Enum<Decoration>
Enum Constant and Description |
---|
blink
.
|
blink_off
.
|
bold
.
|
bold_off
.
|
underline
.
|
underline_off
.
|
Modifier and Type | Field and Description |
---|---|
String |
code
.
|
(package private) int |
index
.
|
(package private) boolean |
on
.
|
Modifier and Type | Method and Description |
---|---|
Style.Composite |
background(Color value) |
Style.Composite |
bg(Color value) |
Style.Composite |
blink() |
Style.Composite |
blink(Boolean value) |
Style.Composite |
bold() |
Style.Composite |
bold(Boolean value) |
Style.Composite |
fg(Color value) |
Style.Composite |
foreground(Color value) |
Style.Composite |
underline() |
Style.Composite |
underline(Boolean value) |
static Decoration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Decoration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Decoration bold
public static final Decoration bold_off
public static final Decoration underline
public static final Decoration underline_off
public static final Decoration blink
public static final Decoration blink_off
public static Decoration[] values()
for (Decoration c : Decoration.values()) System.out.println(c);
public static Decoration 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 Style.Composite fg(Color value)
public Style.Composite foreground(Color value)
public Style.Composite bg(Color value)
public Style.Composite background(Color value)
public Style.Composite bold()
public Style.Composite underline()
public Style.Composite blink()
public Style.Composite bold(Boolean value)
public Style.Composite underline(Boolean value)
public Style.Composite blink(Boolean value)
Copyright © 2015 eXo Platform SAS. All Rights Reserved.