public interface IlvCalendarModel
IlvCalendarModel
defines the data model displayed by the
IlvJCalendarPanel
, the IlvJMonthScroller
, and the
IlvJCalendar
components.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.
|
Calendar |
getCalendar()
Returns the current calendar value of the model.
|
void |
removeCalendarModelListener(CalendarModelListener l)
Removes a listener from the list that is notified each time a
change to the calendar occurs.
|
void |
setCalendar(Calendar calendar)
Sets the current calendar value of the model.
|
Calendar getCalendar()
Calendar
objects are mutable, the implementation of this method should return a copy
of the model's internal calendar value.setCalendar(java.util.Calendar)
void setCalendar(Calendar calendar)
Calendar
objects are mutable, the implementation of this method should internally
store a copy of the calendar argument.calendar
- The new calendar value.getCalendar()
void addCalendarModelListener(CalendarModelListener l)
l
- The CalendarModelListener.void removeCalendarModelListener(CalendarModelListener l)
l
- The CalendarModelListener.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.