Package com.iizigo.prop
Class PropExtender
java.lang.Object
com.iizigo.prop.PropExtender
- All Implemented Interfaces:
EventListener
,IPropExtender
Class used to Extend property container to each other.
- Author:
- Christopher Mindus
Constructor Summary
Method Summary
Constructor Details
PropExtender
public PropExtender()The default constructor.
Method Details
initialize
Initializes the property extender.- Specified by:
initialize
in interfaceIPropExtender
- Parameters:
extendsName
- The reference.source
- The source container.target
- The target container.- Returns:
- true for initialized successfully, false if already initialized.
- Throws:
PropException
- If the extends container cannot be found, the target and extendsFrom are not of same class, one of them is index-based, or target is read-only.
dispose
public void dispose()Disposes of the extends framework. Call this method to stop extension on a container. All properties belonging to the extended container are removed.- Specified by:
dispose
in interfaceIPropExtender
onEvent
Source events.- Specified by:
onEvent
in interfaceEventListener
- Parameters:
e
- The event.