public abstract class IlvAbstractCalendarModel extends Object implements IlvCalendarModel, Serializable
IlvAbstractCalendarModel
is the superclass of all IlvCalendarModel
implementations. It provides a basic framework of event support that can be used by
all concrete subclasses.Constructor and Description |
---|
IlvAbstractCalendarModel()
Creates a new
IlvAbstractCalendarModel . |
Modifier and Type | Method and Description |
---|---|
void |
addCalendarModelListener(CalendarModelListener l)
Adds a listener to the list that is notified each time a change
to the calendar occurs.
|
protected void |
fireCalendarChanged(Calendar oldValue,
Calendar newValue)
Fires a
calendar changed event to all subscribed
listeners. |
void |
removeCalendarModelListener(CalendarModelListener l)
Removes a listener from the list that is notified each time a
change to the calendar occurs.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCalendar, setCalendar
public IlvAbstractCalendarModel()
IlvAbstractCalendarModel
.public void addCalendarModelListener(CalendarModelListener l)
addCalendarModelListener
in interface IlvCalendarModel
l
- The CalendarModelListener
.public void removeCalendarModelListener(CalendarModelListener l)
removeCalendarModelListener
in interface IlvCalendarModel
l
- The CalendarModelListener
.protected void fireCalendarChanged(Calendar oldValue, Calendar newValue)
calendar changed event
to all subscribed
listeners. Note that Calendar
objects are mutable values and
this method does not copy or clone its arguments. Therefore, you should
pass already cloned or temporary calendar values as the arguments to this
method.oldValue
- The previous calendar value.newValue
- The new calendar value.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.