com.wirefusion.propertyeditor
Interface PropertyEditorCollectionFactory


public interface PropertyEditorCollectionFactory

Classes with properties using property editors must implements this interface.


Method Summary
 PropertyEditorCollection createPropertyEditorCollection()
          This method should create property editors and add them to a new PropertyEditorCollection object.
 void destroyPropertyEditorCollection(PropertyEditorCollection propertyEditorCollection)
          Removes all references to the PropertyEditorCollection previously created in the createPropertyEditorCollection() method and removes any listeners to its property editors.
 

Method Detail

createPropertyEditorCollection

PropertyEditorCollection createPropertyEditorCollection()
This method should create property editors and add them to a new PropertyEditorCollection object. The propertyEditorCollection object is then returned.

Returns:
a PropertyEditorCollection object

destroyPropertyEditorCollection

void destroyPropertyEditorCollection(PropertyEditorCollection propertyEditorCollection)
Removes all references to the PropertyEditorCollection previously created in the createPropertyEditorCollection() method and removes any listeners to its property editors.

Note: This method has already been implemented in WobProperties, so no need to add it to your WobProperties class

Parameters:
propertyEditorCollection - a propertyEditorCollection object