org.apache.geronimo.common.propertyeditor
Class ListEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.apache.geronimo.common.propertyeditor.AbstractCollectionEditor
          extended by org.apache.geronimo.common.propertyeditor.ListEditor
All Implemented Interfaces:
PropertyEditor
Direct Known Subclasses:
IteratorEditor

public class ListEditor
extends AbstractCollectionEditor

A property editor for List.


Constructor Summary
ListEditor()
           
 
Method Summary
protected  Collection createCollection()
          Concrete subclasses should implement this method to create the correct type of collection.
 
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, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListEditor

public ListEditor()
Method Detail

createCollection

protected 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
Returns:
an empty instance of the type of collection the subclass edits.


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.