FileDocCategorySizeDatePackage
Customizer.javaAPI DocJava SE 5 API1419Fri Aug 26 14:56:56 BST 2005java.beans

Customizer

public interface Customizer
A customizer class provides a complete custom GUI for customizing a target Java Bean.

Each customizer should inherit from the java.awt.Component class so it can be instantiated inside an AWT dialog or panel.

Each customizer should have a null constructor.

Fields Summary
Constructors Summary
Methods Summary
public voidaddPropertyChangeListener(java.beans.PropertyChangeListener listener)
Register a listener for the PropertyChange event. The customizer should fire a PropertyChange event whenever it changes the target bean in a way that might require the displayed properties to be refreshed.

param
listener An object to be invoked when a PropertyChange event is fired.

public voidremovePropertyChangeListener(java.beans.PropertyChangeListener listener)
Remove a listener for the PropertyChange event.

param
listener The PropertyChange listener to be removed.

public voidsetObject(java.lang.Object bean)
Set the object to be customized. This method should be called only once, before the Customizer has been added to any parent AWT container.

param
bean The object to be customized.