All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.beans.demos.travel.flight.FlightInfoEvent
java.lang.Object
|
+----java.util.EventObject
|
+----com.ibm.beans.demos.travel.flight.FlightInfoEvent
- public class FlightInfoEvent
- extends EventObject
- implements Serializable
This event is sent as a parameter in the FlightInformationChanged()
method of the FlightInfoListener interface. In the demo this
interface is implemented by the flight information viewer and
republished as part of the aggregate flight selector bean.
The flight information data access part (DAP) bean is wired to
the flight selector bean and the flight information
DAP bean fires this event to the flight selector bean to provide
flight information.
- See Also:
- FlightInfoListener
-
flightInfo
- A Vector of flightInfo including city of origin, destination, travel times,
and so forth.
-
FlightInfoEvent(Object, Vector)
- Builds the event object that is sent as a
parameter in the FlightInformationChanged method
of the FlightInfoListener interface.
-
getFlightInfo()
- Gets the FlightInfo Vector.
flightInfo
protected Vector flightInfo
- A Vector of flightInfo including city of origin, destination, travel times,
and so forth.
FlightInfoEvent
public FlightInfoEvent(Object source,
Vector flightInfo)
- Builds the event object that is sent as a
parameter in the FlightInformationChanged method
of the FlightInfoListener interface.
- Parameters:
- source - An object which is the source for the event.
- flightInfo -
- A vector containing FlightInformation
objects as defined in the
FlightInformation class.
- See Also:
- FlightInformation
getFlightInfo
public Vector getFlightInfo()
- Gets the FlightInfo Vector.
- Returns:
- Vector of flight informatation
All Packages Class Hierarchy This Package Previous Next Index