Uses of Class org.jgraph.graph.ConnectionSet (JGraph v5.12.4.2 API Specification)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JGraph v5.12.4.2
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.jgraph.graph.ConnectionSet

Packages that use ConnectionSet
org.jgraph.event | Contains event classes and listener interfaces that are used to react to events fired by JGraph.
org.jgraph.graph | Graphs are made up of a number of classes and interfaces defined in their own package - the `jgraph.graph` package.
org.jgraph.plaf.basic | Contains the BasicGraphUI, which is GraphUI's default implementation.

Uses of ConnectionSet in org.jgraph.event

Methods in org.jgraph.event that return ConnectionSet
`ConnectionSet` | `GraphModelEvent.GraphModelChange.getConnectionSet()` Returns a connection set representing the graph structure after the change was applied
`ConnectionSet` | `GraphModelEvent.GraphModelChange.getPreviousConnectionSet()` Returns a connection set representing the graph structure before the change was applied ( an "undo" of the change).

Uses of ConnectionSet in org.jgraph.graph

Fields in org.jgraph.graph declared as ConnectionSet
`protected ConnectionSet` | `GraphTransferable.cs` Object that describes the connection between cells.
`protected ConnectionSet` | `DefaultGraphModel.transEditCS` Stores nested transaction connection sets
`protected ConnectionSet` | `DefaultGraphModel.GraphModelEdit.connectionSet`
`protected ConnectionSet` | `DefaultGraphModel.GraphModelEdit.previousConnectionSet`

Methods in org.jgraph.graph that return ConnectionSet
`ConnectionSet` | `GraphTransferable.getConnectionSet()` Returns the connections between `cells` (and possibly other, unselected cells).
`ConnectionSet` | `DefaultGraphModel.getConnectionSet()` A shortcut method to create a connection set that represents the connections in this model.
`protected ConnectionSet` | `DefaultGraphModel.handleConnectionSet(ConnectionSet cs)` Applies `connectionSet` to the model.
`ConnectionSet` | `DefaultGraphModel.GraphModelEdit.getConnectionSet()` Returns the connectionSet.
`ConnectionSet` | `DefaultGraphModel.GraphModelEdit.getPreviousConnectionSet()`
`ConnectionSet` | `DefaultGraphModel.GraphModelLayerEdit.getConnectionSet()`
`ConnectionSet` | `DefaultGraphModel.GraphModelLayerEdit.getPreviousConnectionSet()`
`protected ConnectionSet` | `EdgeView.EdgeHandle.createConnectionSet(EdgeView view, boolean verbose)`
`ConnectionSet` | `GraphContext.disconnect(CellView[] cells)` Disconnects the edges in `cells` from the sources and targets that are not in this context and returns a ConnectionSet that defines the disconnection.
`static ConnectionSet` | `ConnectionSet.create(GraphModel m, Object[] cells, boolean disconnect)` Returns a connection set that represents the connection or disconnection of `cells` in `model` based on `disconnect`.
`ConnectionSet` | `ConnectionSet.clone(Map map)` Creates a new connection set based on this connection set, where the edges, and ports are mapped using `map`.

Methods in org.jgraph.graph with parameters of type ConnectionSet
`protected GraphTransferable` | `GraphTransferHandler.create(JGraph graph, Object[] cells, Map viewAttributes, Rectangle2D bounds, ConnectionSet cs, ParentMap pm)`
`protected void` | `GraphTransferHandler.handleExternalDrop(JGraph graph, Object[] cells, Map nested, ConnectionSet cs, ParentMap pm, double dx, double dy)`
`void` | `DefaultGraphModel.insert(Object[] roots, Map attributes, ConnectionSet cs, ParentMap pm, UndoableEdit[] edits)` Inserts the `roots` and connections into the model.
`void` | `DefaultGraphModel.edit(Map attributes, ConnectionSet cs, ParentMap pm, UndoableEdit[] edits)` Shortcut to the new edit method which allows inserts and removes to go along with an edit.
`void` | `DefaultGraphModel.edit(Object[] inserted, Object[] removed, Map attributes, ConnectionSet cs, ParentMap pm, UndoableEdit[] edits)` Applies `attributes` and the connection changes to the model.
`protected void` | `DefaultGraphModel.updateTransaction(Object[] inserted, Object[] removed, Map attributes, ConnectionSet cs, ParentMap pm)` Updates the current state of the various transaction data
`protected DefaultGraphModel.GraphModelEdit` | `DefaultGraphModel.createEdit(Object[] inserted, Object[] removed, Map attributes, ConnectionSet cs, ParentMap pm, UndoableEdit[] edits)`
`protected ConnectionSet` | `DefaultGraphModel.handleConnectionSet(ConnectionSet cs)` Applies `connectionSet` to the model.
`void` | `GraphLayoutCache.setVisible(Object[] visible, Object[] invisible, ConnectionSet cs)` Changes the visibility state of the cells passed in.
`void` | `GraphLayoutCache.setVisible(Object[] visible, Object[] invisible, Map attributes, ConnectionSet cs)` Changes the visibility state of the cells passed in.
`void` | `GraphLayoutCache.insert(Object[] roots, Map attributes, ConnectionSet cs, ParentMap pm, UndoableEdit[] e)` Inserts the `cells` and connections into the model, and absorbs the local attributes.
`Object[]` | `GraphLayoutCache.insertClones(Object[] cells, Map clones, Map nested, ConnectionSet cs, ParentMap pm, double dx, double dy)` Inserts the cloned cells from the clone map and clones the passed-in arguments according to the clone map before insertion and returns the clones in order of the cells.
`void` | `GraphLayoutCache.insert(Object[] cells, Map nested, ConnectionSet cs, ParentMap pm)` Variant of the insert method that allows to pass a default connection set and parent map and nested map.
`void` | `GraphLayoutCache.edit(Map attributes, ConnectionSet cs, ParentMap pm, UndoableEdit[] e)` Applies the `propertyMap` and the connection changes to the model.
`protected static void` | `ConnectionSet.connect(ConnectionSet cs, Object edge, Object port, boolean source, boolean disconnect)` Connect or disconnect `edge` from `source` and `target` in `cs` based on `disconnect`.
`void` | `GraphModel.insert(Object[] roots, Map attributes, ConnectionSet cs, ParentMap pm, UndoableEdit[] e)` Inserts the `cells` and connections into the model, and passes `attributes` to the views.
`void` | `GraphModel.edit(Map attributes, ConnectionSet cs, ParentMap pm, UndoableEdit[] e)` Applies the `propertyMap` and the connection changes to the model.

Constructors in org.jgraph.graph with parameters of type ConnectionSet
`GraphTransferable(Object[] cells, Map attrMap, Rectangle2D bounds, ConnectionSet cs, ParentMap pm)` Constructs a new transferable selection for `cells`, `cs`and `attrMap`.
`DefaultGraphModel(List roots, AttributeMap attributes, ConnectionSet cs)` Constructs a model using the specified information to construct the cells, attributes and connection data.
`DefaultGraphModel.GraphModelEdit(Object[] inserted, Object[] removed, Map attributes, ConnectionSet connectionSet, ParentMap parentMap)` Constructs an edit record.

Uses of ConnectionSet in org.jgraph.plaf.basic

Fields in org.jgraph.plaf.basic declared as ConnectionSet
`protected ConnectionSet` | `BasicGraphUI.RootHandle.disconnect`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JGraph v5.12.4.2
PREV NEXT | FRAMES NO FRAMES

Copyright (C) 2001-2008 Gaudenz Alder. All rights reserved.