|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.dlsc.flexgantt.model.gantt.DefaultRelationship<T>
T
- the object type of the related timeline objectspublic class DefaultRelationship<T>
The default implementation for relationships. For more information read the
notes on IRelationship
.
Constructor Summary | |
---|---|
DefaultRelationship(TimelineObjectPath<T> sourcePath,
TimelineObjectPath<T> targetPath)
Constructs a new relationship object. |
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. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultRelationship(TimelineObjectPath<T> sourcePath, TimelineObjectPath<T> targetPath)
sourcePath
- the timeline object path used to locate the source timeline
objecttargetPath
- the timeline object path used to locate the target timeline
objectMethod Detail |
---|
public void setSourcePath(TimelineObjectPath<T> path)
IRelationship
setSourcePath
in interface IRelationship<T>
path
- the new source pathpublic TimelineObjectPath<T> getSourcePath()
IRelationship
getSourcePath
in interface IRelationship<T>
public void setTargetPath(TimelineObjectPath<T> path)
IRelationship
setTargetPath
in interface IRelationship<T>
path
- the new target pathpublic TimelineObjectPath<T> getTargetPath()
IRelationship
getTargetPath
in interface IRelationship<T>
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |