org.jboss.util.propertyeditor
Class TextPropertyEditorSupport

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.jboss.util.propertyeditor.TextPropertyEditorSupport
All Implemented Interfaces:
PropertyEditor
Direct Known Subclasses:
BigDecimalEditor, BlockingModeEditor, ClassEditor, DateEditor, FileEditor, InetAddressEditor, PropertiesEditor, URIEditor, URLEditor

public class TextPropertyEditorSupport
extends PropertyEditorSupport

A property editor support class for textual properties.

Version:
$Revision: 1.1.20.1 $
Author:
Jason Dillon

Constructor Summary
protected TextPropertyEditorSupport()
           
protected TextPropertyEditorSupport(Object source)
           
 
Method Summary
 void setAsText(String text)
          Sets the property value by parsing a given String.
 
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

TextPropertyEditorSupport

protected TextPropertyEditorSupport(Object source)

TextPropertyEditorSupport

protected TextPropertyEditorSupport()
Method Detail

setAsText

public void setAsText(String text)
Sets the property value by parsing a given String.

Specified by:
setAsText in interface PropertyEditor
Overrides:
setAsText in class PropertyEditorSupport
Parameters:
text - The string to be parsed.


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.