|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the object type of the timeline objectspublic interface IRelationship<T>
Timeline objects may have some kind of relationship between each other. To
visualize this relationship (which might be a dependency / constraint like
"finish before start") lines with arrows can be drawn between them. To enable
the user interface to draw these lines a relationship object needs to return
the related timeline objects plus the tree paths to locate the row on which
they are displayed. The path and the timeline object information is
encapsulated in instances of type TimelineObjectPath
.
RelationshipLayer
,
IGanttChartModel.getRelationships()
Method Summary | |
---|---|
TimelineObjectPath<T> |
getSourcePath()
Returns the tree path information that can be used to locate the row on which the source timeline object is displayed. |
TimelineObjectPath<T> |
getTargetPath()
Returns the tree path information that can be used to locate the row on which the target timeline object is displayed. |
void |
setSourcePath(TimelineObjectPath<T> path)
Sets a new tree path that can be used to locate the row on which the source timeline object is displayed. |
void |
setTargetPath(TimelineObjectPath<T> path)
Sets a new tree path that can be used to locate the row on which the target timeline object is displayed. |
Method Detail |
---|
void setSourcePath(TimelineObjectPath<T> path)
path
- the new source pathTimelineObjectPath<T> getSourcePath()
void setTargetPath(TimelineObjectPath<T> path)
path
- the new target pathTimelineObjectPath<T> getTargetPath()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |