public class ReservationInsertedEvent extends EventObject implements ReservationEvent
ReservationInsertedEvent is used to notify
ReservationListener's when a reservation has been added
to an IlvGanttModel.source| Constructor and Description |
|---|
ReservationInsertedEvent(IlvGanttModel model,
IlvReservation reservation)
Constructs a new
ReservationInsertedEvent generated by the
specified data model that can be used to notify listeners when a
reservation has been added to a Gantt data model. |
| Modifier and Type | Method and Description |
|---|---|
IlvGanttModel |
getGanttModel()
Returns the data model where the event originated.
|
IlvReservation |
getReservation()
Returns the reservation which was inserted.
|
getSource, toStringpublic ReservationInsertedEvent(IlvGanttModel model, IlvReservation reservation)
ReservationInsertedEvent generated by the
specified data model that can be used to notify listeners when a
reservation has been added to a Gantt data model.model - the data model where the event originatedreservation - the reservation that was inserted into
model.public IlvGanttModel getGanttModel()
IlvGanttModel where this event originated.public IlvReservation getReservation()
getReservation in interface ReservationEventIlvReservation which was inserted.© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.