java.beans.PropertyEditorSupport (JDK 1.1)
The PropertyEditorSupport class is a trivial implementation of the PropertyEditor interface. It provides "no-op" default implementations of most methods, so that you can can define simple PropertyEditor subclasses that only override a few required methods.
In addition, PropertyEditorSupport defines working versions of addPropertyChangeListener() and removePropertyChangeListener(), along with a firePropertyChange() method that sends a PropertyChangeEvent to all registered listeners. PropertyEditor classes may choose to instantiate a PropertyEditorSupport object simply to handle the job of managing the list of listeners. When used in this way, the PropertyEditorSupport object should be instantiated with a source object specified, so that that source object can be used in the PropertyChangeEvent objects that are sent.
public classPropertyEditorSupportextends Object implements PropertyEditor { //Protected ConstructorsprotectedPropertyEditorSupport(); protectedPropertyEditorSupport(Objectsource); //Public Instance Methodspublic synchronized voidaddPropertyChangeListener(PropertyChangeListener public synchronized voidaddPropertyChangeListener'u'listener); //From PropertyEditorpublic voidfirePropertyChange(); public StringgetAsText(); //From PropertyEditorpublic ComponentgetCustomEditor(); //From PropertyEditorpublic StringgetJavaInitializationString(); //From PropertyEditorpublic String[]getTags(); //From PropertyEditorpublic ObjectgetValue(); //From PropertyEditorpublic booleanisPaintable(); //From PropertyEditorpublic voidpaintValue(Graphicsgfx, Rectanglebox); //From PropertyEditorpublic synchronized voidremovePropertyChangeListener(PropertyChangeListener public synchronized voidremovePropertyChangeListener'u'listener); //From PropertyEditorpublic voidsetAsText(Stringtext) throws IllegalArgumentException; //From PropertyEditorpublic voidsetValue(Objectvalue); //From PropertyEditorpublic booleansupportsCustomEditor(); //From PropertyEditor}