All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.beans.samples.dips.context.AnnotationContextCustomizer
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----com.ibm.beans.samples.dips.context.AnnotationContextCustomizer
- public class AnnotationContextCustomizer
- extends Panel
- implements Customizer, ActionListener
The AnnotationContextCustomizer customizes an annotation context object.
This customization provides a facility for changing the update policy
which the dip uses to determine when the annotation changes.
-
AnnotationContextCustomizer()
- Construct a customizer for the Annotation context.
-
actionPerformed(ActionEvent)
- Responds to the buttons which the user may press in the dialog.
-
addPropertyChangeListener(PropertyChangeListener)
- Adds a listener to be notified whenever the customizer changes the
bean in a significant manner.
-
removePropertyChangeListener(PropertyChangeListener)
- Removes a listener from the notification list.
-
setObject(Object)
- Sets the object instance with which the annotation customizer interacts.
AnnotationContextCustomizer
public AnnotationContextCustomizer()
- Construct a customizer for the Annotation context.
setObject
public void setObject(Object bean)
- Sets the object instance with which the annotation customizer interacts.
Once the object is set, the proper GUI is determined and created.
- Parameters:
- bean - The bean instance to customize
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
- Adds a listener to be notified whenever the customizer changes the
bean in a significant manner. A significant change is a policy update.
- Parameters:
- listener - Object to be notified of changes.
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
- Removes a listener from the notification list.
- Parameters:
- listener - Object to be removed from the notification list.
actionPerformed
public void actionPerformed(ActionEvent event)
- Responds to the buttons which the user may press in the dialog.
- Parameters:
- event - The event which will provide information on which,
if any, button was pressed.
All Packages Class Hierarchy This Package Previous Next Index