java.io.Serializable
, java.lang.Cloneable
, ObjectDescription
public class Rectangle2DObjectDescription extends AbstractObjectDescription
Rectangle2D
object.Constructor | Description |
---|---|
Rectangle2DObjectDescription() |
Creates a new object description.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
createObject() |
Creates an object based on this description.
|
void |
setParameterFromObject(java.lang.Object o) |
Sets the parameters of this description object to match the supplied object.
|
configure, convertPrimitiveClass, equals, getConfig, getDefinedParameterNames, getInstance, getObjectClass, getParameter, getParameterDefinition, getParameterNames, getUnconfiguredInstance, hashCode, setParameter, setParameterDefinition
public Rectangle2DObjectDescription()
public java.lang.Object createObject()
public void setParameterFromObject(java.lang.Object o) throws ObjectFactoryException
o
- the object (should be an instance of Rectangle2D
).ObjectFactoryException
- if the object is not an instance of Rectangle2D
.