java.beans
public interface Customizer
A Customizer is meant to be embedded in an RAD tool,
and thus must be a descendant of java.awt.Component
.
It must also have a constructor with no arguments. This is the constructor that will be called by the RAD tool to instantiate the Customizer.
Over its lifetime, an instance of a Customizer will only customize one single Bean. A new instance of the Customizer will be instantiated to edit any other Beans.
The Customizer is responsible for notifying its PropertyChangeListeners of any changes that are made, according to the rules of PropertyChangeListeners (i.e. notify the clients after the property has changed).
Since: JDK1.1
See Also: java.beans.BeanDescriptor.getCustomizerClass()
Method Summary | |
---|---|
void | addPropertyChangeListener(PropertyChangeListener l) Add a PropertyChangeListener. |
void | removePropertyChangeListener(PropertyChangeListener l) Remove a PropertyChangeListener. |
void | setObject(Object bean) Set the object to Customize. |
Parameters: l the PropertyChangeListener to add.
Parameters: l the PropertyChangeListener to remove.
Parameters: bean the Bean to customize.