public class IlvDefaultCalendarModel extends IlvAbstractCalendarModel
IlvDefaultCalendarModel
is a default implementation of the
IlvCalendarModel
interface.Constructor and Description |
---|
IlvDefaultCalendarModel()
Creates a new calendar model with the default calendar value of today.
|
Modifier and Type | Method and Description |
---|---|
Calendar |
getCalendar()
Returns the current calendar value of the model.
|
void |
setCalendar(Calendar calendar)
Sets the current calendar value of the model.
|
addCalendarModelListener, fireCalendarChanged, removeCalendarModelListener
public IlvDefaultCalendarModel()
public Calendar getCalendar()
Calendar
objects are mutable, this method actually returns a copy of its internal
calendar value.IlvCalendarModel.setCalendar(java.util.Calendar)
public void setCalendar(Calendar calendar)
Calendar
objects are mutable, this method actually stores a copy of the calendar
argument.calendar
- The new calendar value.IlvCalendarModel.getCalendar()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.