org.jfree.xml.factory.objects
public class Dimension2DObjectDescription extends AbstractObjectDescription
Dimension2D object.
| Constructor Summary | |
|---|---|
| Dimension2DObjectDescription()
Creates a new object description. | |
| Method Summary | |
|---|---|
| Object | createObject()
Creates an object based on the 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 Dimension2D).
Throws: ObjectFactoryException if the object is not an instance of Point2D.