Uses of Class
org.jgraph.graph.ConnectionSet
Packages that use ConnectionSet
Package
Description
Contains event classes and listener interfaces that are used to react to events fired by JGraph.
Graphs are made up of a number of classes and interfaces defined in their own
package - the
jgraph.graph package.Contains the BasicGraphUI, which is GraphUI's default implementation.
-
Uses of ConnectionSet in org.jgraph.event
Methods in org.jgraph.event that return ConnectionSetModifier and TypeMethodDescriptionGraphModelEvent.GraphModelChange.getConnectionSet()Returns a connection set representing the graph structure after the change was appliedGraphModelEvent.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 ConnectionSetModifier and TypeFieldDescriptionprotected ConnectionSetDefaultGraphModel.GraphModelEdit.connectionSetprotected ConnectionSetGraphTransferable.csObject that describes the connection between cells.protected ConnectionSetDefaultGraphModel.GraphModelEdit.previousConnectionSetprotected ConnectionSetDefaultGraphModel.transEditCSStores nested transaction connection setsMethods in org.jgraph.graph that return ConnectionSetModifier and TypeMethodDescriptionCreates a new connection set based on this connection set, where the edges, and ports are mapped usingmap.static ConnectionSetConnectionSet.create(GraphModel m, Object[] cells, boolean disconnect) Returns a connection set that represents the connection or disconnection ofcellsinmodelbased ondisconnect.protected ConnectionSetEdgeView.EdgeHandle.createConnectionSet(EdgeView view, boolean verbose) GraphContext.disconnect(CellView[] cells) Disconnects the edges incellsfrom the sources and targets that are not in this context and returns a ConnectionSet that defines the disconnection.DefaultGraphModel.getConnectionSet()A shortcut method to create a connection set that represents the connections in this model.DefaultGraphModel.GraphModelEdit.getConnectionSet()Returns the connectionSet.DefaultGraphModel.GraphModelLayerEdit.getConnectionSet()GraphTransferable.getConnectionSet()Returns the connections betweencells(and possibly other, unselected cells).DefaultGraphModel.GraphModelEdit.getPreviousConnectionSet()DefaultGraphModel.GraphModelLayerEdit.getPreviousConnectionSet()protected ConnectionSetDefaultGraphModel.handleConnectionSet(ConnectionSet cs) AppliesconnectionSetto the model.Methods in org.jgraph.graph with parameters of type ConnectionSetModifier and TypeMethodDescriptionprotected static voidConnectionSet.connect(ConnectionSet cs, Object edge, Object port, boolean source, boolean disconnect) Connect or disconnectedgefromsourceandtargetincsbased ondisconnect.protected GraphTransferableGraphTransferHandler.create(JGraph graph, Object[] cells, Map viewAttributes, Rectangle2D bounds, ConnectionSet cs, ParentMap pm) protected DefaultGraphModel.GraphModelEditDefaultGraphModel.createEdit(Object[] inserted, Object[] removed, Map attributes, ConnectionSet cs, ParentMap pm, UndoableEdit[] edits) voidDefaultGraphModel.edit(Object[] inserted, Object[] removed, Map attributes, ConnectionSet cs, ParentMap pm, UndoableEdit[] edits) Appliesattributesand the connection changes to the model.voidDefaultGraphModel.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.voidGraphLayoutCache.edit(Map attributes, ConnectionSet cs, ParentMap pm, UndoableEdit[] e) Applies thepropertyMapand the connection changes to the model.voidGraphModel.edit(Map attributes, ConnectionSet cs, ParentMap pm, UndoableEdit[] e) Applies thepropertyMapand the connection changes to the model.protected ConnectionSetDefaultGraphModel.handleConnectionSet(ConnectionSet cs) AppliesconnectionSetto the model.protected voidGraphTransferHandler.handleExternalDrop(JGraph graph, Object[] cells, Map nested, ConnectionSet cs, ParentMap pm, double dx, double dy) voidDefaultGraphModel.insert(Object[] roots, Map attributes, ConnectionSet cs, ParentMap pm, UndoableEdit[] edits) Inserts therootsand connections into the model.voidGraphLayoutCache.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.voidGraphLayoutCache.insert(Object[] roots, Map attributes, ConnectionSet cs, ParentMap pm, UndoableEdit[] e) Inserts thecellsand connections into the model, and absorbs the local attributes.voidGraphModel.insert(Object[] roots, Map attributes, ConnectionSet cs, ParentMap pm, UndoableEdit[] e) Inserts thecellsand connections into the model, and passesattributesto the views.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.voidGraphLayoutCache.setVisible(Object[] visible, Object[] invisible, Map attributes, ConnectionSet cs) Changes the visibility state of the cells passed in.voidGraphLayoutCache.setVisible(Object[] visible, Object[] invisible, ConnectionSet cs) Changes the visibility state of the cells passed in.protected voidDefaultGraphModel.updateTransaction(Object[] inserted, Object[] removed, Map attributes, ConnectionSet cs, ParentMap pm) Updates the current state of the various transaction dataConstructors in org.jgraph.graph with parameters of type ConnectionSetModifierConstructorDescriptionDefaultGraphModel(List roots, AttributeMap attributes, ConnectionSet cs) Constructs a model using the specified information to construct the cells, attributes and connection data.GraphModelEdit(Object[] inserted, Object[] removed, Map attributes, ConnectionSet connectionSet, ParentMap parentMap) Constructs an edit record.GraphTransferable(Object[] cells, Map attrMap, Rectangle2D bounds, ConnectionSet cs, ParentMap pm) Constructs a new transferable selection forcells,csandattrMap. -
Uses of ConnectionSet in org.jgraph.plaf.basic
Fields in org.jgraph.plaf.basic declared as ConnectionSet