public class CalendarModelEvent extends EventObject
CalendarModelEvent
is fired by an IlvCalendarModel
when its calendar has been changed.source
Constructor and Description |
---|
CalendarModelEvent(IlvCalendarModel source,
Calendar oldValue,
Calendar newValue)
Creates a new
CalendarModelEvent generated by the
specified calendar model. |
Modifier and Type | Method and Description |
---|---|
Calendar |
getNewCalendar()
Returns the new calendar value.
|
Calendar |
getOldCalendar()
Returns the old calendar value.
|
getSource, toString
public CalendarModelEvent(IlvCalendarModel source, Calendar oldValue, Calendar newValue)
CalendarModelEvent
generated by the
specified calendar model. Note that Calendar
objects are
mutable values, and the event does not copy or clone its arguments.
Therefore, you should pass already cloned or temporary calendar values
as the arguments to this constructor.source
- The calendar model that generated the event.oldValue
- The previous calendar value.newValue
- The new calendar value.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.