|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Link
Interface for class representing links. A link is an object connecting exactly two Nodes: the start node and the end node.
| Field Summary | |
|---|---|
static int |
ATTR_CONDITIONAL_LINK
Attribute bit to be set on link subject to a condition. |
static int |
ATTR_WEAK_LINK
Attribute bit to be set on weak links. |
| Fields inherited from interface net.ggtools.grand.graph.GraphObject |
|---|
ATTR_ALL, ATTR_NONE |
| Method Summary | |
|---|---|
void |
accept(LinkVisitor visitor)
Accepts a visitor. |
Node |
getEndNode()
Return the node located at the end of the link. |
Node |
getStartNode()
Return the node located at the start of the link. |
| Methods inherited from interface net.ggtools.grand.graph.GraphObject |
|---|
clearAttributes, getAttributes, getGraph, getName, hasAttributes, setAttributes |
| Field Detail |
|---|
static final int ATTR_WEAK_LINK
static final int ATTR_CONDITIONAL_LINK
| Method Detail |
|---|
Node getStartNode()
Node getEndNode()
void accept(LinkVisitor visitor)
visitLink method.
visitor -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||