S - the type of the calendar entriesT - the type of the hierarchy nodespublic interface ICalendarModel<T,S>
| Modifier and Type | Method and Description |
|---|---|
void |
addCalendarListener(ICalendarModelListener l)
Adds a calendar listener to the calendar model.
|
Iterator<S> |
getCalendarEntries(IDatelineModel model,
ITimeSpan span)
Returns an iterator for iterating over all calendar entries within the
given time span.
|
Iterator<S> |
getCalendarEntries(IDatelineModel model,
T node,
ITimeSpan span)
Returns an iterator for iterating over all calendar entries of the given
node within the given time span.
|
ITimeSpan |
getCalendarEntryTimeSpan(S entry)
Returns the time span allocated to a calendar entry.
|
void |
removeCalendarListener(ICalendarModelListener l)
Removes the given calendar listener from the calendar model.
|
Iterator<S> getCalendarEntries(IDatelineModel model, ITimeSpan span)
model - the currently used dateline modelspan - the time span for which to return calendar entriesIterator<S> getCalendarEntries(IDatelineModel model, T node, ITimeSpan span)
getCalendarEntries(IDatelineModel, ITimeSpan).model - the currently used dateline modelnode - the tree node / Gantt chart node for which to return calendar
entriesspan - the time span for which to return calendar entriesITimeSpan getCalendarEntryTimeSpan(S entry)
entry - the entry for which to return a time spanvoid addCalendarListener(ICalendarModelListener l)
l - the listener that will be added to the calendar's event
listener listvoid removeCalendarListener(ICalendarModelListener l)
l - the listener that will be removed from the calendar's event
listener listCopyright © 2006–2016 Dirk Lemmermann Software & Consulting. All rights reserved.