S
- the type of the calendar entriesT
- the type of the hierachy nodespublic abstract class AbstractCalendarModel<T,S> extends Object implements ICalendarModel<T,S>
Modifier | Constructor and Description |
---|---|
protected |
AbstractCalendarModel()
Construcs a new calendar model.
|
Modifier and Type | Method and Description |
---|---|
void |
addCalendarListener(ICalendarModelListener l)
Adds a calendar listener to the calendar model.
|
protected void |
fireCalendarModelChanged()
Informs all listeners that the calendar model has been changed (e.g. a
holiday has been added).
|
void |
removeCalendarListener(ICalendarModelListener l)
Removes the given calendar listener from the calendar model.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCalendarEntries, getCalendarEntries, getCalendarEntryTimeSpan
protected AbstractCalendarModel()
public void addCalendarListener(ICalendarModelListener l)
ICalendarModel
addCalendarListener
in interface ICalendarModel<T,S>
l
- the listener that will be added to the calendar's event
listener listpublic void removeCalendarListener(ICalendarModelListener l)
ICalendarModel
removeCalendarListener
in interface ICalendarModel<T,S>
l
- the listener that will be removed from the calendar's event
listener listprotected void fireCalendarModelChanged()
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.