public class GeneralPathObjectDescription extends AbstractObjectDescription
Constructor and Description |
---|
GeneralPathObjectDescription()
DefaultConstructor.
|
GeneralPathObjectDescription(Class c)
Creates a new GeneralPathObjectDescription.
|
Modifier and Type | Method and Description |
---|---|
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.
|
clone, configure, convertPrimitiveClass, equals, getConfig, getDefinedParameterNames, getInstance, getObjectClass, getParameter, getParameterDefinition, getParameterNames, getUnconfiguredInstance, hashCode, setParameter, setParameterDefinition
public GeneralPathObjectDescription()
public GeneralPathObjectDescription(Class c)
c
- the registered base class, an instance of shape.public Object createObject()
public void setParameterFromObject(Object o) throws ObjectFactoryException
o
- the object (should be an instance of FontDefinition
).ObjectFactoryException
- if the object is not an instance of Float
.Copyright © 2017 Hitachi Vantara. All rights reserved.