All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.beans.samples.dips.context.VersionContextCustomizer

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----com.ibm.beans.samples.dips.context.VersionContextCustomizer

public class VersionContextCustomizer
extends Panel
implements Customizer, ItemListener, ActionListener
The VersionContextCustomizer customizes a version context object. This customization provides a facility for changing the update policy which the dip uses to determine when the version changes.


Constructor Index

 o VersionContextCustomizer()
Construct a VersionContextCustomizer.

Method Index

 o actionPerformed(ActionEvent)
Responds to the buttons which the user may press in the dialog.
 o addPropertyChangeListener(PropertyChangeListener)
Adds a listener to get notified whenever the customizer changes the bean in a significant manner.
 o getPreferredSize()
 o itemStateChanged(ItemEvent)
Changes the version as the item selected in the list box changes.
 o removePropertyChangeListener(PropertyChangeListener)
Removes a listener from the notification list.
 o setObject(Object)
Sets the object instance with which the version customizer interacts.

Constructors

 o VersionContextCustomizer
 public VersionContextCustomizer()
Construct a VersionContextCustomizer.

Methods

 o setObject
 public void setObject(Object bean)
Sets the object instance with which the version customizer interacts. Once the object is set, the proper GUI is determined and created.

Parameters:
bean - The bean instance to customize
 o addPropertyChangeListener
 public void addPropertyChangeListener(PropertyChangeListener listener)
Adds a listener to get 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.
 o removePropertyChangeListener
 public void removePropertyChangeListener(PropertyChangeListener listener)
Removes a listener from the notification list.

Parameters:
listener - Object to be removed from the notification list.
 o itemStateChanged
 public void itemStateChanged(ItemEvent itmEvt)
Changes the version as the item selected in the list box changes.

Parameters:
itmEvt - The item state changed event information.
 o actionPerformed
 public void actionPerformed(ActionEvent event)
Responds to the buttons which the user may press in the dialog.

Parameters:
event - The event that provides information on which, if any, button was pressed.
 o getPreferredSize
 public Dimension getPreferredSize()
Overrides:
getPreferredSize in class Container

All Packages  Class Hierarchy  This Package  Previous  Next  Index