public class ColorObjectDescription extends AbstractObjectDescription
Color object.| Constructor and Description |
|---|
ColorObjectDescription()
Creates a new object description.
|
| 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.
|
configure, convertPrimitiveClass, equals, getConfig, getDefinedParameterNames, getInstance, getObjectClass, getParameter, getParameterDefinition, getParameterNames, getUnconfiguredInstance, hashCode, setParameter, setParameterDefinitionpublic ColorObjectDescription()
public Object createObject()
public void setParameterFromObject(Object o) throws ObjectFactoryException
o - the object (should be an instance of Color).ObjectFactoryException - if there is a problem while reading the
properties of the given object.Copyright © 2009-2012 jtstand.com. All Rights Reserved.