|
JGraph |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the requirements for an object that represents a port in a graph model.
Method Summary | |
boolean |
addEdge(Object edge)
Adds edge to the list of ports. |
Iterator |
edges()
Returns an iterator of the edges connected to the port. |
Port |
getAnchor()
Returns the anchor of the port. |
boolean |
removeEdge(Object edge)
Removes edge from the list of ports. |
void |
setAnchor(Port port)
Sets the anchor of the port. |
Methods inherited from interface org.jgraph.graph.GraphCell |
changeAttributes, getAttributes, setAttributes |
Method Detail |
public Iterator edges()
public boolean addEdge(Object edge)
edge
to the list of ports.
public boolean removeEdge(Object edge)
edge
from the list of ports.
public Port getAnchor()
public void setAnchor(Port port)
|
JGraph |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |