protected class IlvFilterGanttModel.ReservationEventHandler extends Object implements ReservationListener, Serializable
ReservationEventHandler
is the default listener used by
IlvFilterGanttModel
to handle reservation events
fired by the encapsulated data model. This default
implementation refires all events triggered by the encapsulated model to
the filter model's own registered
listeners. You can extend this class to add additional event filtering,
processing, functionality, and so on.IlvFilterGanttModel.createReservationEventHandler()
,
Serialized FormConstructor and Description |
---|
ReservationEventHandler()
Creates a new
ReservationEventHandler that will refire all
reservation events it receives from the
encapsulated data model. |
Modifier and Type | Method and Description |
---|---|
void |
reservationChanged(ReservationEvent event)
This method is invoked when a reservation has been added to or removed
from the encapsulated data model, or when a property of a reservation in
the encapsulated data model has changed.
|
public ReservationEventHandler()
ReservationEventHandler
that will refire all
reservation events
it receives from the
encapsulated data model.public void reservationChanged(ReservationEvent event)
ReservationInsertedEvent
or a ReservationRemovedEvent
,
then this method fires a copy of the event to this data model's
registered listeners. Because
ReservationPropertyEvent
s generally do not contain a reference to
the originating data model, this method simply refires them to this data
model's registered listeners.reservationChanged
in interface ReservationListener
event
- The reservation event.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.