public class BasicStrokeObjectDescription extends AbstractObjectDescription
BasicStroke
object.Constructor and Description |
---|
BasicStrokeObjectDescription()
Creates a new object description.
|
Modifier and Type | Method and Description |
---|---|
Object |
createObject()
Creates a new
BasicStroke object based on this description. |
void |
setParameterFromObject(Object o)
Sets the parameters for this description to match the supplied object.
|
clone, configure, convertPrimitiveClass, equals, getConfig, getInstance, getObjectClass, getParameter, getParameterDefinition, getParameterNames, getUnconfiguredInstance, hashCode, setParameter, setParameterDefinition
public BasicStrokeObjectDescription()
public Object createObject()
BasicStroke
object based on this description.BasicStroke
object.public void setParameterFromObject(Object o) throws ObjectFactoryException
o
- the object (instance of BasicStroke
required).ObjectFactoryException
- if the supplied object is not an instance of BasicStroke
.