API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.beans. PropertyEditor View Source
Author(s)
Since
Version
Serial
Hierarchy
 PropertyEditor
Subinterfaces
Description
public interface PropertyEditor
  A PropertyEditor class provides support for GUIs that want to allow users to edit a property value of a given type.
See also:   
Methods
Hide/Show inherited methods
public void addPropertyChangeListener (PropertyChangeListener listener)
  Register a listener for the PropertyChange event.
public String getAsText ()
  Gets the property value as text.
public Component getCustomEditor ()
  A PropertyEditor may choose to make available a full custom Component that edits its property value.
public String getJavaInitializationString ()
  Returns a fragment of Java code that can be used to set a property to match the editors current state.
public String getTags ()
  If the property value must be one of a set of known tagged values, then this method should return an array of the tags.
public Object getValue ()
  Gets the property value.
public boolean isPaintable ()
  Determines whether this property editor is paintable.
public void paintValue (Graphics gfx, Rectangle box)
  Paint a representation of the value into a given area of screen real estate.
public void removePropertyChangeListener (PropertyChangeListener listener)
  Remove a listener for the PropertyChange event.
public void setAsText (String text) throws IllegalArgumentException
  Set the property value by parsing a given String.
public void setValue (Object value)
  Set (or change) the object that is to be edited.
public boolean supportsCustomEditor ()
  Determines whether this property editor supports a custom editor.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar