All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.beans.demos.travel.flight.FlightInfoDapServerCustomizer

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

public class FlightInfoDapServerCustomizer
extends Panel
implements Customizer, ItemListener, TextListener
This class defines a FlightInfoDapServerCustomizer instance that is the customizer for an instance of the FlightInfoDapServer class. The customizer is used to decide whether or not the database should be accessed using JDBC. The following properties can be modified: the JDBCURL property, the dbTableName property, and the bUseJDBC property. If these properties are modified their new values will be reflected in the FlightInfoDapServer instance.


Constructor Index

 o FlightInfoDapServerCustomizer()
Constructs a FlightInfoDapServerCustomizer instance and creates controls used in customizing the properties of the FlightInfoDapServer.

Method Index

 o addPropertyChangeListener(PropertyChangeListener)
Adds a listener to the property-change notification list.
 o getPreferredSize()
Returns the preferred size for this customizer panel.
 o itemStateChanged(ItemEvent)
Handles item events on the FlightInfoDapServer Customizer.
 o removePropertyChangeListener(PropertyChangeListener)
Removes a listener from the property-change notification list.
 o setObject(Object)
Sets the object instance with which this customizer interacts.
 o textValueChanged(TextEvent)
Receives keystrokes from the text fields.

Constructors

 o FlightInfoDapServerCustomizer
 public FlightInfoDapServerCustomizer()
Constructs a FlightInfoDapServerCustomizer instance and creates controls used in customizing the properties of the FlightInfoDapServer.

Methods

 o itemStateChanged
 public void itemStateChanged(ItemEvent e)
Handles item events on the FlightInfoDapServer Customizer. The bUseJDBC property of the FlightInfoDapServer may be updated.

Parameters:
e - This parameter indicates the item event that occurred.
 o textValueChanged
 public void textValueChanged(TextEvent evt)
Receives keystrokes from the text fields. The JDBCURL property and/or the dbTableName property of the FlightInfoDapServer may be updated.

Parameters:
evt - Describes the event that occurred.
 o 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 FlightInfoDapServer instance to be customized.
 o getPreferredSize
 public Dimension getPreferredSize()
Returns the preferred size for this customizer panel.

Returns:
The dimensions of the customizer.
Overrides:
getPreferredSize in class Container
 o addPropertyChangeListener
 public void addPropertyChangeListener(PropertyChangeListener l)
Adds a listener to the property-change notification list.

Parameters:
l - The listener to add.
 o 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