gui.componentEditor.propertyeditor
Class TextPropertyEditorSupport

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by gui.componentEditor.propertyeditor.TextPropertyEditorSupport
All Implemented Interfaces:
java.beans.PropertyEditor
Direct Known Subclasses:
BigDecimalEditor, BooleanEditor, ByteEditor, CharacterEditor, DateEditor, DoubleEditor, FileEditor, FloatEditor, InetAddressEditor, IntegerEditor, LongEditor, MapEditor, ObjectNameEditor, ShortEditor, URIEditor, URLEditor

public class TextPropertyEditorSupport
extends java.beans.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(java.lang.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, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setAsText

public void setAsText(java.lang.String value)
By default, set the property value by directly passing the provided string value through to the setValue() method.

Specified by:
setAsText in interface java.beans.PropertyEditor
Overrides:
setAsText in class java.beans.PropertyEditorSupport
Parameters:
value - The new property value, as a string.