ilog.views.util.swing.calendar
Class IlvDefaultCalendarModel
java.lang.Object
ilog.views.util.swing.calendar.IlvAbstractCalendarModel
ilog.views.util.swing.calendar.IlvDefaultCalendarModel
- All Implemented Interfaces:
- IlvCalendarModel, Serializable
public class IlvDefaultCalendarModel
- extends IlvAbstractCalendarModel
IlvDefaultCalendarModel is a default implementation of the
IlvCalendarModel interface.
- Since:
- JViews 5.5
- See Also:
- Serialized Form
|
Constructor Summary |
IlvDefaultCalendarModel()
Creates a new calendar model with the default calendar value of today. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IlvDefaultCalendarModel
public IlvDefaultCalendarModel()
- Creates a new calendar model with the default calendar value of today.
getCalendar
public Calendar getCalendar()
- Returns the current calendar value of the model. Because
Calendar
objects are mutable, this method actually returns a copy of its internal
calendar value.
- Returns:
- The current calendar value of the model.
- See Also:
IlvCalendarModel.setCalendar(java.util.Calendar)
setCalendar
public void setCalendar(Calendar calendar)
- Sets the current calendar value of the model. Because
Calendar
objects are mutable, this method actually stores a copy of the calendar
argument.
- Parameters:
calendar - The new calendar value.- See Also:
IlvCalendarModel.getCalendar()
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage. . All Rights Reserved.