|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Customizer
You may explicitly provide a Customizer for your Bean class, which allows you complete control of the editing of the Bean.
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).
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. |
Method Detail |
---|
void setObject(Object bean)
bean
- the Bean to customize.void addPropertyChangeListener(PropertyChangeListener l)
l
- the PropertyChangeListener to add.void removePropertyChangeListener(PropertyChangeListener l)
l
- the PropertyChangeListener to remove.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |