public class DimensionObjectDescription extends AbstractObjectDescription
java.awt.Dimension
object.Constructor and Description |
---|
DimensionObjectDescription()
Creates a new object description.
|
Modifier and Type | Method and Description |
---|---|
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.
|
clone, configure, convertPrimitiveClass, equals, getConfig, getDefinedParameterNames, getInstance, getObjectClass, getParameter, getParameterDefinition, getParameterNames, getUnconfiguredInstance, hashCode, setParameter, setParameterDefinition
public DimensionObjectDescription()
public Object createObject()
public void setParameterFromObject(Object o) throws ObjectFactoryException
o
- the object (should be an instance of Dimension2D
).ObjectFactoryException
- if the object is not an instance of Point2D
.Copyright © 2002–2017 Pentaho Corporation. All rights reserved.