public class ColorStringConverter extends Object implements StringConverter<Color>
| Constructor and Description |
|---|
ColorStringConverter() |
| Modifier and Type | Method and Description |
|---|---|
static Color |
getColor(CharSequence color) |
Class<Color> |
getConvertedClass() |
static Color |
getRgbaColor(String string) |
static Color |
getRgbColor(String string) |
static Color |
getWebColor(String colorName) |
boolean |
requiresQuotes() |
Color |
toObject(Object value) |
Color |
toObject(String string) |
String |
toString(Object value) |
public static Color getColor(CharSequence color)
public Class<Color> getConvertedClass()
getConvertedClass in interface StringConverter<Color>public boolean requiresQuotes()
requiresQuotes in interface StringConverter<Color>public Color toObject(Object value)
toObject in interface StringConverter<Color>public Color toObject(String string)
toObject in interface StringConverter<Color>public String toString(Object value)
toString in interface StringConverter<Color>Copyright © 2015 Revolution Systems Inc.. All rights reserved.