| Package | Description |
|---|---|
| org.fireweb.css |
| Modifier and Type | Method and Description |
|---|---|
ColorName |
Color.name() |
static ColorName |
ColorName.valueOf(Color c)
Convert color color to color name.
|
static ColorName |
ColorName.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ColorName[] |
ColorName.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
TextColor |
TextColor.setColor(ColorName colorName) |
CSS |
CSS.setColor(ColorName colorName) |
BorderProperty |
BorderProperty.setColor(ColorName name) |
Background |
Background.setColor(ColorName name) |
| Constructor and Description |
|---|
TextColor(ColorName colorName)
Create text color instance based on color name
|