All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----java.beans.PropertyEditorSupport
protected PropertyEditorSupport()
protected PropertyEditorSupport(Object source)
public void setValue(Object value)
public Object getValue()
public boolean isPaintable()
public void paintValue(Graphics gfx,
Rectangle box)
If the PropertyEditor doesn't honor paint requests (see isPaintable) this method should be a silent noop.
public String getJavaInitializationString()
Example results are "2", "new Color(127,127,34)", "Color.orange", etc.
public String getAsText()
Returns "null" is the value can't be expressed as a string.
If a non-null value is returned, then the PropertyEditor should be prepared to parse that string back in setAsText().
public void setAsText(String text) throws IllegalArgumentException
public String[] getTags()
public Component getCustomEditor()
The higher-level code that calls getCustomEditor may either embed the Component in some larger property sheet, or it may put it in its own individual dialog, or ...
public boolean supportsCustomEditor()
public synchronized void addPropertyChangeListener(PropertyChangeListener listener)
public synchronized void removePropertyChangeListener(PropertyChangeListener listener)
public void firePropertyChange()
All Packages Class Hierarchy This Package Previous Next Index