|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A interface for all edge objects (as in nodes and edges). Implementing this inteface allows the edge to be displayed correctly.
At this time labels are not displayed.
| Method Summary | |
Node |
getFrom()
Gets the node that this edge comes from. |
String |
getLabel()
Gets the label for this edge. |
double |
getStrength()
Gets the strength of this edge |
Node |
getTo()
Gets the node that this edge goes to |
String |
getType()
Gets the type of this edge. |
void |
setFrom(Node node)
Sets the from node |
void |
setLabel(String label)
Sets the label for this edge |
void |
setStrength(double val)
Sets the strength of this edge |
void |
setTo(Node node)
Sets the to Node |
void |
setType(String type)
Sets the type of this edge. |
| Method Detail |
public Node getFrom()
public Node getTo()
public void setFrom(Node node)
public void setTo(Node node)
public void setLabel(String label)
label - the label for this edgepublic String getLabel()
public void setStrength(double val)
public double getStrength()
public String getType()
public void setType(String type)
|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||