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.
-
ConnectingFlightDipCustomizer()
- Constructs a ConnectingFlightDipCustomizer.
-
addPropertyChangeListener(PropertyChangeListener)
- Adds a listener to get notified when the customizer changes the
bean in a significant manner.
-
getPreferredSize()
- Gets the preferred size of the customizer.
-
removePropertyChangeListener(PropertyChangeListener)
- Removes a listener from the notification list.
-
setObject(Object)
- Sets the object instance with which this customizer is to interact.
ConnectingFlightDipCustomizer
public ConnectingFlightDipCustomizer()
- Constructs a ConnectingFlightDipCustomizer. This customizer
presents a text field to enter the price differential into.
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
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.
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.
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