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.
-
VersionContextCustomizer()
- Construct a VersionContextCustomizer.
-
actionPerformed(ActionEvent)
- Responds to the buttons which the
user may press in the dialog.
-
addPropertyChangeListener(PropertyChangeListener)
- Adds a listener to get notified whenever the customizer changes the
bean in a significant manner.
-
getPreferredSize()
-
-
itemStateChanged(ItemEvent)
- Changes the version as the item selected in the list box changes.
-
removePropertyChangeListener(PropertyChangeListener)
- Removes a listener from the notification list.
-
setObject(Object)
- Sets the object instance with which the version customizer interacts.
VersionContextCustomizer
public VersionContextCustomizer()
- Construct a VersionContextCustomizer.
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
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.
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
- Removes a listener from the notification list.
- Parameters:
- listener - Object to be removed from the notification list.
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.
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.
getPreferredSize
public Dimension getPreferredSize()
- Overrides:
- getPreferredSize in class Container
All Packages Class Hierarchy This Package Previous Next Index