Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.geronimo.common.propertyeditor
Class CollectionEditor  view CollectionEditor download CollectionEditor.java

java.lang.Object
  extended byjava.beans.PropertyEditorSupport
      extended byorg.apache.geronimo.common.propertyeditor.AbstractCollectionEditor
          extended byorg.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) $

Field Summary
 
Fields inherited from class java.beans.PropertyEditorSupport
 
Constructor Summary
CollectionEditor()
           
 
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 org.apache.geronimo.common.propertyeditor.AbstractCollectionEditor
setAsText
 
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
 

Constructor Detail

CollectionEditor

public CollectionEditor()
Method Detail

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.