|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the type of the objects stored on the eventlinepublic interface IEventlineModel<T>
A model definition for use with the Eventline
.
Method Summary | |
---|---|
void |
addEventlineModelListener(IEventlineModelListener l)
Adds an eventline model listener. |
void |
addEventlineObjects(java.util.Collection<T> eventlineObjects)
Adds a collection of eventline objects to the model. |
java.util.Iterator<T> |
getEventlineObjectsIterator(ITimeSpan span)
Returns an iterator for those eventline objects that are placed on the eventline during the given span. |
ITimeSpan |
getTimeSpan(T eventlineObject)
Returns the time span allocated to the given object. |
void |
removeEventlineModelListener(IEventlineModelListener l)
Removes a listener from the eventline model. |
void |
removeEventlineObjects(java.util.Collection<T> eventlineObjects)
Removes a collection of eventline objects from the model. |
Method Detail |
---|
java.util.Iterator<T> getEventlineObjectsIterator(ITimeSpan span)
span
- the time span for which to return the timeline objects
ITimeSpan getTimeSpan(T eventlineObject)
eventlineObject
- the timeline object
void addEventlineObjects(java.util.Collection<T> eventlineObjects)
eventlineObjects
- removeEventlineObjects(Collection)
void removeEventlineObjects(java.util.Collection<T> eventlineObjects)
eventlineObjects
- addEventlineObjects(Collection)
void addEventlineModelListener(IEventlineModelListener l)
l
- the listener to addremoveEventlineModelListener(IEventlineModelListener)
void removeEventlineModelListener(IEventlineModelListener l)
l
- the listener to removeaddEventlineModelListener(IEventlineModelListener)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |