public static class CharProperty.Factory extends Object implements PropertyFactory<CharProperty>
| Constructor and Description | 
|---|
CharProperty.Factory(Attributes attrs)  | 
CharProperty.Factory(char defaultValue)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
clone(CharProperty src,
     int srcIndex,
     CharProperty dst,
     int dstIndex)
Copy the value from src at component index, srcIndex to
 dst at dstIndex. 
 | 
CharProperty | 
create()
Return a new Property instance. 
 | 
void | 
setDefaultValue(CharProperty property,
               int index)
Set the default value that the component at the specified index will see
 before it's init() method is invoked. 
 | 
public CharProperty.Factory(Attributes attrs)
public CharProperty.Factory(char defaultValue)
public CharProperty create()
PropertyFactorycreate in interface PropertyFactory<CharProperty>public void setDefaultValue(CharProperty property, int index)
PropertyFactorysetDefaultValue in interface PropertyFactory<CharProperty>property - The property whose value will be updatedindex - The component index to be updatedpublic void clone(CharProperty src, int srcIndex, CharProperty dst, int dstIndex)
PropertyFactoryEntity.add(com.lhkbob.entreri.Component).
 For many cases a plain copy-by-value or copy-by-reference is sufficient, but some
 component types might require more complicated cloning rules.clone in interface PropertyFactory<CharProperty>src - The source property that is being clonedsrcIndex - The index into src of the component being cloneddst - The destination property created from the templatedstIndex - The index into dst of the component being createdCopyright © 2013. All Rights Reserved.