public enum Colors extends java.lang.Enum<Colors> implements IColorConstant
Enum Constant and Description |
---|
BLACK |
DARK_GREY |
DEFAULT
Default foreground color
|
DEFAULT_TABLE_EVEN_BACKGROUND_COLOR
Background color for even table rows when using striped rendering
|
DISABLED
Color for disabled items
|
ERROR
Error color
|
GREEN |
GREY |
LIGHT_GREY |
SELECTED_BACKGROUND
Color for selected backgrounds
|
STRONG
Color for a strong label markup
|
WARNING
Warning color
|
WHITE |
Modifier and Type | Method and Description |
---|---|
ColorValue |
getDefaultValue()
Gets the default value of the color
|
static Colors |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Colors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Colors DEFAULT
public static final Colors ERROR
public static final Colors WARNING
public static final Colors STRONG
public static final Colors DISABLED
public static final Colors DEFAULT_TABLE_EVEN_BACKGROUND_COLOR
public static final Colors SELECTED_BACKGROUND
public static final Colors BLACK
public static final Colors WHITE
public static final Colors DARK_GREY
public static final Colors GREY
public static final Colors LIGHT_GREY
public static final Colors GREEN
public static Colors[] values()
for (Colors c : Colors.values()) System.out.println(c);
public static Colors 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 ColorValue getDefaultValue()
IColorConstant
getDefaultValue
in interface IColorConstant
Siehe auch Jowidgets Nutzerhandbuch