java.lang.Object
java.beans.PropertyEditorSupport
org.apache.geronimo.common.propertyeditor.AbstractCollectionEditor
org.apache.geronimo.common.propertyeditor.CollectionEditor
- All Implemented Interfaces:
- java.beans.PropertyEditor
- public class CollectionEditor
- extends AbstractCollectionEditor
A property editor for java.util.Collection.
- Version:
- $Rev: 106582 $ $Date: 2004-11-25 09:28:29 -0800 (Thu, 25 Nov 2004) $
|
Method Summary |
protected java.util.Collection |
createCollection()
Concrete subclasses should implement this method to create the correct type of collection. |
void |
setValue(java.lang.Object value)
Sets the current value of the property and a property change
event is fired to all registered PropertyChangeListener instances. |
| Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionEditor
public CollectionEditor()
createCollection
protected java.util.Collection createCollection()
- Description copied from class:
AbstractCollectionEditor
- Concrete subclasses should implement this method to create the correct type of collection.
- Specified by:
createCollection in class AbstractCollectionEditor
setValue
public void setValue(java.lang.Object value)
- Description copied from class:
java.beans.PropertyEditorSupport
- Sets the current value of the property and a property change
event is fired to all registered PropertyChangeListener instances.