org.favabeans.base
Class ObjectPropertyEditor
java.lang.Object
|
+--org.favabeans.base.ObjectPropertyEditor
- All Implemented Interfaces:
- PropertyEditor
- public class ObjectPropertyEditor
- extends Object
- implements PropertyEditor
This is a very simple PropertyEditor implementation used as
a fall-back when a more appropriate one cannot be found. It
supports no custom GUI components, and assumes its values are just
generic Objects.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectPropertyEditor
public ObjectPropertyEditor()
setValue
public void setValue(Object value)
- Specified by:
setValue in interface PropertyEditor
getValue
public Object getValue()
- Specified by:
getValue in interface PropertyEditor
isPaintable
public boolean isPaintable()
- Specified by:
isPaintable in interface PropertyEditor
paintValue
public void paintValue(Graphics g,
Rectangle r)
- Specified by:
paintValue in interface PropertyEditor
getJavaInitializationString
public String getJavaInitializationString()
- Specified by:
getJavaInitializationString in interface PropertyEditor
getAsText
public String getAsText()
- Specified by:
getAsText in interface PropertyEditor
setAsText
public void setAsText(String value)
throws IllegalArgumentException
- Specified by:
setAsText in interface PropertyEditor
getTags
public String[] getTags()
- Specified by:
getTags in interface PropertyEditor
getCustomEditor
public Component getCustomEditor()
- Specified by:
getCustomEditor in interface PropertyEditor
supportsCustomEditor
public boolean supportsCustomEditor()
- Specified by:
supportsCustomEditor in interface PropertyEditor
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener l)
- Specified by:
addPropertyChangeListener in interface PropertyEditor
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener l)
- Specified by:
removePropertyChangeListener in interface PropertyEditor
Copyright © 2000-2001, Regents of the University of Minnesota. All Rights Reserved.