public class ColorSpec extends Object implements Cloneable, Comparable<ColorSpec>
Modifier and Type | Method and Description |
---|---|
ColorSpec |
clone() |
int |
compareTo(ColorSpec inObj2) |
boolean |
equals(Object inObj2) |
Color |
getBackgroundColor() |
Color |
getForegroundColor() |
int |
hashCode() |
ColorSpec |
setBackgroundColor(Color inValue)
Sets the background color; null values are allowed.
|
ColorSpec |
setForegroundColor(Color inValue)
Sets the foreground color; null values are allowed.
|
String |
toString() |
XMLTag |
toXMLTag() |
public int compareTo(ColorSpec inObj2)
compareTo
in interface Comparable<ColorSpec>
public ColorSpec setForegroundColor(Color inValue)
inValue
- the color to use for the foregroundpublic Color getForegroundColor()
public ColorSpec setBackgroundColor(Color inValue)
inValue
- the color to use for the backgroundpublic Color getBackgroundColor()