T
- the object type of the timeline objectspublic interface IRelationship<T>
TimelineObjectPath
.RelationshipLayer
,
IGanttChartModel.getRelationships()
Modifier and Type | Method and Description |
---|---|
String |
getLabel(LabelType type)
Returns a label for the given type / purpose.
|
Object |
getPopupObject(boolean extended)
Returns the object to be shown inside the popup window when the mouse
cursor hovers over the relationship.
|
Object |
getPopupTitleObject()
The title used for the popup window.
|
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.
|
RelationshipType |
getType()
The type of relationship expressed by the line drawn between two timeline
objects.
|
boolean |
isDeletable()
Determines if the user is allowed to delete the relationship.
|
boolean |
isSelectable()
Determines if the user is allowed to select the relationship by clicking
on it.
|
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.
|
void |
setType(RelationshipType type)
Sets the relationship type expressed by the line drawn between two
timeline objects.
|
String getLabel(LabelType type)
type
- the label typevoid setSourcePath(TimelineObjectPath<T> path)
path
- the new source pathTimelineObjectPath<T> getSourcePath()
void setTargetPath(TimelineObjectPath<T> path)
path
- the new target pathTimelineObjectPath<T> getTargetPath()
boolean isSelectable()
boolean isDeletable()
Object getPopupObject(boolean extended)
extended
- if TRUE the user wants to see the extended popup informationObject getPopupTitleObject()
RelationshipType getType()
void setType(RelationshipType type)
type
- the relationship typeCopyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.