Package org.jgraph.graph
Interface Port
- All Superinterfaces:
GraphCell
- All Known Implementing Classes:
DefaultPort
Defines the requirements for an object that
represents a port in a graph model.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Addsedge
to the list of ports.edges()
Returns an iterator of the edges connected to the port.Returns the anchor of the port.boolean
removeEdge
(Object edge) Removesedge
from the list of ports.void
Sets the anchor of the port.Methods inherited from interface org.jgraph.graph.GraphCell
changeAttributes, getAttributes, setAttributes