All Packages  Class Hierarchy  This Package  Previous  Next  Index

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

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

public class CarrierRestrictionDipCustomizer
extends Panel
implements Customizer
The CarrierRestrictionDipCustomizer sets the Carrier property in the CarrierRestrictionDip.


Constructor Index

 o CarrierRestrictionDipCustomizer()
Constructs a CarrierRestrictionDipCustomizer.

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 CarrierRestrictionDipCustomizer
 public CarrierRestrictionDipCustomizer()
Constructs a CarrierRestrictionDipCustomizer. This customizer presents a text field to enter the carrier 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