ilog.views.util.swing.calendar.event
Class CalendarModelEvent
java.lang.Object
java.util.EventObject
ilog.views.util.swing.calendar.event.CalendarModelEvent
- All Implemented Interfaces:
- Serializable
public class CalendarModelEvent
- extends EventObject
A CalendarModelEvent is fired by an IlvCalendarModel
when its calendar has been changed.
- Since:
- JViews 5.5
- See Also:
IlvCalendarModel.addCalendarModelListener(ilog.views.util.swing.calendar.event.CalendarModelListener),
CalendarModelListener,
Serialized Form
CalendarModelEvent
public CalendarModelEvent(IlvCalendarModel source,
Calendar oldValue,
Calendar newValue)
- Creates a new
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.
- Parameters:
source - The calendar model that generated the event.oldValue - The previous calendar value.newValue - The new calendar value.
getOldCalendar
public final Calendar getOldCalendar()
- Returns the old calendar value.
getNewCalendar
public final Calendar getNewCalendar()
- Returns the new calendar value.
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage.