All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.beans.demos.travel.flight.rules.ConnectingFlightDipCustomizer

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----com.ibm.beans.demos.travel.flight.rules.ConnectingFlightDipCustomizer

public class ConnectingFlightDipCustomizer
extends Panel
implements Customizer
The ConnectingFlightDipCustomizer sets the priceDifferential property in the ConnectingFlightDip.


Constructor Index

 o ConnectingFlightDipCustomizer()
Constructs a ConnectingFlightDipCustomizer.

Method Index

 o addPropertyChangeListener(PropertyChangeListener)
Adds a listener to get notified when the customizer changes the bean in a significant manner.
 o getPreferredSize()
Gets the preferred size of the customizer.
 o removePropertyChangeListener(PropertyChangeListener)
Removes a listener from the notification list.
 o setObject(Object)
Sets the object instance with which this customizer is to interact.

Constructors

 o ConnectingFlightDipCustomizer
 public ConnectingFlightDipCustomizer()
Constructs a ConnectingFlightDipCustomizer. This customizer presents a text field to enter the price differential into.

Methods

 o getPreferredSize
 public Dimension getPreferredSize()
Gets the preferred size of the customizer. This method performs a passthru to the policy's customizer because it is the only thing presented by this customizer.

Returns:
The preferred width and height of the customizer.
Overrides:
getPreferredSize in class Container
 o setObject
 public void setObject(Object bean)
Sets the object instance with which this customizer is to interact. Once the object is set, the customizer for the license policy can be set.

Parameters:
bean - The bean instance to customize.
 o addPropertyChangeListener
 public void addPropertyChangeListener(PropertyChangeListener listener)
Adds a listener to get notified when the customizer changes the bean in a significant manner. There are no significant changes that can be made to the dip itself. This method does nothing.

Parameters:
listener - The object to be notified of changes.
 o removePropertyChangeListener
 public void removePropertyChangeListener(PropertyChangeListener listener)
Removes a listener from the notification list.

Parameters:
listener - The object to be removed from the notification list.

All Packages  Class Hierarchy  This Package  Previous  Next  Index