org.apache.geronimo.common.propertyeditor
Class TextPropertyEditorSupport
java.lang.Object
java.beans.PropertyEditorSupport
org.apache.geronimo.common.propertyeditor.TextPropertyEditorSupport
- All Implemented Interfaces:
- PropertyEditor
- Direct Known Subclasses:
- AbstractNameEditor, AbstractNameQueryEditor, BigDecimalEditor, BooleanEditor, ByteEditor, CharacterEditor, ClassEditor, DateEditor, DoubleEditor, FileEditor, FloatEditor, InetAddressEditor, IntegerEditor, LongEditor, MapEditor, ObjectNameEditor, PropertiesEditor, ShortEditor, URIEditor, URLEditor
- public class TextPropertyEditorSupport
- extends PropertyEditorSupport
A base class for text based properties. This class basically does nothing
but override the defaute PropertyEditorSupport setAsText() method, which
throws an IllegalArgumentException when called.
- Version:
- $Rev: 356022 $
Method Summary |
void |
setAsText(String value)
By default, set the property value by directly passing the
provided string value through to the setValue() method. |
Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setValue, supportsCustomEditor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextPropertyEditorSupport
protected TextPropertyEditorSupport(Object source)
- A property editor with a provided source object.
- Parameters:
source
- The source of the editted information.
TextPropertyEditorSupport
protected TextPropertyEditorSupport()
- Default no-argument constructor.
setAsText
public void setAsText(String value)
- By default, set the property value by directly passing the
provided string value through to the setValue() method.
- Parameters:
value
- The new property value, as a string.
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.