Inheritance diagram for org.jgraph.graph.DefaultPort:
Public Member Functions | |
DefaultPort () | |
DefaultPort (Object userObject) | |
DefaultPort (Object userObject, Port anchor) | |
Iterator | edges () |
boolean | addEdge (Object edge) |
boolean | removeEdge (Object edge) |
Set | getEdges () |
void | setEdges (Set edges) |
Port | getAnchor () |
void | setAnchor (Port port) |
Object | clone () |
Protected Attributes | |
HashSet | edges = new HashSet(4, 0.75f) |
Port | anchor |
|
Constructs an empty port. |
|
Constructs a port that holds a reference to the specified user object.
|
|
Constructs a port that holds a reference to the specified user object and a reference to the specified anchor.
|
|
Adds Implements org.jgraph.graph.Port. |
|
Create a clone of the cell. The cloning of the user object is deferred to the cloneUserObject() method.
Reimplemented from org.jgraph.graph.DefaultGraphCell. |
|
Returns an iterator of the edges connected to the port. Implements org.jgraph.graph.Port. |
|
Returns the anchor of this port. Implements org.jgraph.graph.Port. |
|
Returns the collection of edges connected to this port. |
|
Removes Implements org.jgraph.graph.Port. |
|
Sets the anchor of this port. Implements org.jgraph.graph.Port. |
|
Sets the collection of edges connected to this port. |
|
Reference to the anchor of this port |
|
Edges that are connected to the port |