All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.beans.demos.travel.flight.FlightInfoDapClientCustomizer
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----com.ibm.beans.demos.travel.flight.FlightInfoDapClientCustomizer
- public class FlightInfoDapClientCustomizer
- extends Panel
- implements Customizer, TextListener
This class defines a FlightInfoDapClientCustomizer instance that is the
customizer for an instance of the FlightInfoDapClient class. The
customizer is used to modify the serverAddress property value of
the FlightInfoDapClient instance.
-
FlightInfoDapClientCustomizer()
- Constructs a FlightInfoDapClientCustomizer instance, and creates
controls used in customizing the properties of the FlightInfoDapClient.
-
addPropertyChangeListener(PropertyChangeListener)
- Adds a listener to the property-change notification list.
-
getPreferredSize()
- Returns the preferred size for this customizer panel.
-
removePropertyChangeListener(PropertyChangeListener)
- Removes a listener from the property-change notification list.
-
setObject(Object)
- Sets the object instance with which this customizer interacts.
-
textValueChanged(TextEvent)
- Updates the serverAddress property of the FlightInfoDapClient
FlightInfoDapClientCustomizer
public FlightInfoDapClientCustomizer()
- Constructs a FlightInfoDapClientCustomizer instance, and creates
controls used in customizing the properties of the FlightInfoDapClient.
setObject
public void setObject(Object obj)
- Sets the object instance with which this customizer interacts.
Controls are initialized to contain the current value of
properties being customized.
- Parameters:
- obj - A FlightInfoDapClient instance to be customized.
getPreferredSize
public Dimension getPreferredSize()
- Returns the preferred size for this customizer panel.
- Returns:
- The dimensions of the customizer.
- Overrides:
- getPreferredSize in class Container
textValueChanged
public void textValueChanged(TextEvent evt)
- Updates the serverAddress property of the FlightInfoDapClient
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener l)
- Adds a listener to the property-change notification list.
- Parameters:
- l - The listener to add.
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener l)
- Removes a listener from the property-change notification list.
- Parameters:
- l - The listener to remove.
All Packages Class Hierarchy This Package Previous Next Index