org.jfree.xml.factory.objects
public class ColorObjectDescription extends AbstractObjectDescription
Color
object.
Constructor Summary | |
---|---|
ColorObjectDescription()
Creates a new object description. |
Method Summary | |
---|---|
Object | createObject()
Creates an object based on this description.
|
void | setParameterFromObject(Object o)
Sets the parameters of this description object to match the supplied object.
|
Returns: The object.
Parameters: o the object (should be an instance of Color
).
Throws: ObjectFactoryException if there is a problem while reading the properties of the given object.