|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Edge
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. |
java.lang.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 |
java.lang.String |
getType()
Gets the type of this edge. |
void |
setFrom(Node node)
Sets the from node |
void |
setLabel(java.lang.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(java.lang.String type)
Sets the type of this edge. |
| Method Detail |
|---|
Node getFrom()
Node getTo()
void setFrom(Node node)
void setTo(Node node)
void setLabel(java.lang.String label)
label - the label for this edgejava.lang.String getLabel()
void setStrength(double val)
double getStrength()
java.lang.String getType()
void setType(java.lang.String type)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||