|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.dlsc.flexgantt.model.calendar.AbstractCalendarModel<T,S>
S
- the type of the calendar entriesT
- the type of the hierachy nodespublic abstract class AbstractCalendarModel<T,S>
An abstract calendar model implementation that provides the necessary event handling infrastructure for its subclasses.
Constructor Summary | |
---|---|
protected |
AbstractCalendarModel()
Construcs a new calendar model. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.dlsc.flexgantt.model.calendar.ICalendarModel |
---|
getCalendarEntries, getCalendarEntries, getCalendarEntryTimeSpan |
Constructor Detail |
---|
protected AbstractCalendarModel()
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |