API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.beans. PropertyEditorSupport View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      PropertyEditorSupport
Implements
 PropertyEditor
Subclasses
Description
public class PropertyEditorSupport
  This is a support class to help build property editors.
See also:   
Constructors
public PropertyEditorSupport ()
  Constructs a PropertyEditorSupport object.
public PropertyEditorSupport (Object source)
  Constructs a PropertyEditorSupport object.
Methods
Hide/Show inherited methods
publicsynchronized void addPropertyChangeListener (PropertyChangeListener listener) [Specified in PropertyEditor]
  Register a listener for the PropertyChange event.
public void firePropertyChange ()
Report that we have been modified to any interested listeners.
public String getAsText () [Specified in PropertyEditor]
  Gets the property value as a string suitable for presentation to a human to edit.
public Component getCustomEditor () [Specified in PropertyEditor]
  A PropertyEditor may chose to make available a full custom Component that edits its property value.
public String getJavaInitializationString () [Specified in PropertyEditor]
  This method is intended for use when generating Java code to set the value of the property.
public Object getSource ()
  Returns the bean that is used as the source of events.
public String getTags () [Specified in PropertyEditor]
  If the property value must be one of a set of known tagged values, then this method should return an array of the tag values.
public Object getValue () [Specified in PropertyEditor]
  Gets the value of the property.
public boolean isPaintable () [Specified in PropertyEditor]
  Determines whether the class will honor the paintValue method.
public void paintValue (Graphics gfx, Rectangle box) [Specified in PropertyEditor]
  Paint a representation of the value into a given area of screen real estate.
publicsynchronized void removePropertyChangeListener (PropertyChangeListener listener) [Specified in PropertyEditor]
  Remove a listener for the PropertyChange event.
public void setAsText (String text) throws IllegalArgumentException [Specified in PropertyEditor]
  Sets the property value by parsing a given String.
public void setSource (Object source)
  Sets the source bean.
public void setValue (Object value) [Specified in PropertyEditor]
  Set (or change) the object that is to be edited.
public boolean supportsCustomEditor () [Specified in PropertyEditor]
  Determines whether the propertyEditor can provide a custom editor.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar