public interface Port extends GraphCell
Modifier and Type | Method and Description |
---|---|
boolean |
addEdge(java.lang.Object edge)
Adds
edge to the list of ports. |
java.util.Iterator |
edges()
Returns an iterator of the edges connected
to the port.
|
Port |
getAnchor()
Returns the anchor of the port.
|
boolean |
removeEdge(java.lang.Object edge)
Removes
edge from the list of ports. |
void |
setAnchor(Port port)
Sets the anchor of the port.
|
changeAttributes, getAttributes, setAttributes
java.util.Iterator edges()
boolean addEdge(java.lang.Object edge)
edge
to the list of ports.boolean removeEdge(java.lang.Object edge)
edge
from the list of ports.Port getAnchor()
void setAnchor(Port port)
Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.