public final class ColorProperty extends Property
| Modifier and Type | Class | Description |
|---|---|---|
static class |
ColorProperty.Maker |
Inner class for creating instances of ColorTypeProperty
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object o) |
|
java.awt.Color |
getColor(FOUserAgent foUserAgent) |
Returns an AWT instance of this color
|
ColorProperty |
getColorProperty() |
Can't convert to any other types
|
static ColorProperty |
getInstance(FOUserAgent foUserAgent,
java.lang.String value) |
Set the color given a particular String.
|
java.lang.Object |
getObject() |
This method expects to be overridden by subclasses
|
int |
hashCode() |
|
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCharacter, getCondLength, getEnum, getKeep, getLength, getLengthPair, getLengthRange, getList, getNCname, getNumber, getNumeric, getSpace, getSpecifiedValue, getString, isAuto, setSpecifiedValuepublic static ColorProperty getInstance(FOUserAgent foUserAgent, java.lang.String value) throws PropertyException
foUserAgent - FOP user agentvalue - RGB value as String to be parsedPropertyException - if the value can't be parsedColorUtil.parseColorString(FOUserAgent, String)public java.awt.Color getColor(FOUserAgent foUserAgent)
public ColorProperty getColorProperty()
public java.lang.Object getObject()
Propertypublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.