Inheritance diagram for org.jgraph.graph.GraphContext:
Public Member Functions | |
GraphContext (JGraph graph, Object[] cells) | |
boolean | isEmpty () |
int | getDescendantCount () |
JGraph | getGraph () |
Object[] | getCells () |
boolean | contains (Object node) |
CellView[] | createTemporaryCellViews () |
CellView[] | createTemporaryPortViews () |
CellView[] | createTemporaryContextViews () |
CellView[] | createTemporaryContextViews (Set cellSet) |
CellView | getMapping (Object cell, boolean create) |
CellView | createMapping (Object cell) |
ConnectionSet | disconnect (CellView[] cells) |
void | putMapping (Object cell, CellView view) |
Protected Attributes | |
JGraph | graph |
transient GraphLayoutCache | graphLayoutCache |
Object[] | cells |
Set | allCells |
Set | cellSet |
int | cellCount |
Map | views = new Hashtable() |
|
Constructs a graph context for |
|
Returns |
|
|
|
Returns an new consistent array of views for |
|
Returns an new consistent array of views for the edges that are connected to and not contained in |
|
Returns an new consistent array of views for the edges that are connected to and not contained in |
|
Returns an new consistent array of views for the ports. |
|
Disconnects the edges in |
|
Returns the array that was passed to the constructor. |
|
Returns the number of all objects (cells and children) in this object. |
|
Returns the graph that was passed to the constructor. |
|
Returns the Implements org.jgraph.graph.CellMapper. |
|
Returns |
|
Associates Implements org.jgraph.graph.CellMapper. |
|
Set of all cells including all descendants. |
|
Number of all descendants without ports. |
|
Reference to the cells. |
|
|
|
Reference to the parent graph. |
|
Reference to the graphs GraphLayoutCache. |
|
Map of (cell, view) pairs including ports. |