public abstract class AbstractCalendarModel extends java.lang.Object implements CalendarModel, java.io.Serializable
CalendarModel
Constructor and Description |
---|
AbstractCalendarModel() |
Modifier and Type | Method and Description |
---|---|
void |
addCalendarDataListener(CalendarDataListener l)
Adds a listener to the calendar model that's notified each time a change
to the data model occurs.
|
protected void |
fireEvent(int type,
CalendarItem e)
Fires a
CalendarDataEvent for all registered listener
(thru addCalendarDataListener(org.zkoss.calendar.event.CalendarDataListener) . |
protected void |
fireEvent(int type,
CalendarItem e,
java.util.TimeZone timezone)
Fires a
CalendarDataEvent for all registered listener
(thru addCalendarDataListener(org.zkoss.calendar.event.CalendarDataListener) . |
protected void |
fireEvent(int type,
java.util.Date begin,
java.util.Date end)
Deprecated.
As of release 2.0-RC, replaced with
fireEvent(int type, CalendarItem e)
Fires a CalendarDataEvent for all registered listener
(thru addCalendarDataListener(org.zkoss.calendar.event.CalendarDataListener) . |
protected void |
fireEvent(int type,
java.util.Date begin,
java.util.Date end,
java.util.TimeZone timezone)
Deprecated.
As of release 2.0-RC, replaced with
fireEvent(int type, CalendarItem e, TimeZone timezone)
Fires a CalendarDataEvent for all registered listener
(thru addCalendarDataListener(org.zkoss.calendar.event.CalendarDataListener) .
Note: you can invoke this method only in an event listener. |
void |
removeCalendarDataListener(CalendarDataListener l)
Removes a listener from the calendar model that's notified each time
a change to the data model occurs.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get
protected void fireEvent(int type, java.util.Date begin, java.util.Date end)
fireEvent(int type, CalendarItem e)
Fires a CalendarDataEvent
for all registered listener
(thru addCalendarDataListener(org.zkoss.calendar.event.CalendarDataListener)
.fireEvent(int, Date, Date, TimeZone)
protected void fireEvent(int type, CalendarItem e)
CalendarDataEvent
for all registered listener
(thru addCalendarDataListener(org.zkoss.calendar.event.CalendarDataListener)
.fireEvent(int, Date, Date, TimeZone)
protected void fireEvent(int type, java.util.Date begin, java.util.Date end, java.util.TimeZone timezone)
fireEvent(int type, CalendarItem e, TimeZone timezone)
Fires a CalendarDataEvent
for all registered listener
(thru addCalendarDataListener(org.zkoss.calendar.event.CalendarDataListener)
.
Note: you can invoke this method only in an event listener.
protected void fireEvent(int type, CalendarItem e, java.util.TimeZone timezone)
CalendarDataEvent
for all registered listener
(thru addCalendarDataListener(org.zkoss.calendar.event.CalendarDataListener)
.
Note: you can invoke this method only in an event listener.
public void addCalendarDataListener(CalendarDataListener l)
CalendarModel
addCalendarDataListener
in interface CalendarModel
public void removeCalendarDataListener(CalendarDataListener l)
CalendarModel
removeCalendarDataListener
in interface CalendarModel
Copyright © 2021. All Rights Reserved.