public class ColorUtility extends Object
Constructor and Description |
---|
ColorUtility()
Creates a new value converter.
|
Modifier and Type | Method and Description |
---|---|
static Color |
convertToBrighter(Color c) |
static Color |
convertToDarker(Color c) |
static Color |
convertToGray(Color c,
float x) |
static Color[] |
getPredefinedExcelColors()
Returns the colors that are defined in Excel.
|
static String |
toAttributeValue(Color c)
Converts the attribute to a string.
|
static Color |
toPropertyValue(String value)
Converts a string to a
Integer . |
public static Color toPropertyValue(String value)
Integer
.value
- the string.Integer
.public static Color[] getPredefinedExcelColors()