|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectptolemy.vergil.kernel.Link
Instances of this class represent a link between a port and a relation, OR a binary connection between two ports. In the first case, the relation is represented by an explicit node in the graph. In the second case, there is no explicit node representing the relation and the edge runs directly from one port to the other. Connections are made and broken by the graph model depending on which of the above contexts the link is being used in.
| Red (johnr) |
| Red (eal) |
| Constructor Summary | |
Link()
|
|
| Method Summary | |
java.lang.Object |
getHead()
Return the head of this link. |
ComponentRelation |
getRelation()
Return the relation that this link represents. |
java.lang.Object |
getTail()
Return the tail of this link. |
void |
setHead(java.lang.Object head)
Set the head of this link. |
void |
setRelation(ComponentRelation relation)
Set the relation for this link. |
void |
setTail(java.lang.Object tail)
Set the tail of this link. |
java.lang.String |
toString()
Return a string representation of this link. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Link()
| Method Detail |
public java.lang.Object getHead()
public ComponentRelation getRelation()
public java.lang.Object getTail()
public void setHead(java.lang.Object head)
public void setRelation(ComponentRelation relation)
public void setTail(java.lang.Object tail)
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||