Uses of Class org.jgraph.graph.ParentMap (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.ParentMap

Packages that use ParentMap
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.

Uses of ParentMap in org.jgraph.event

Methods in org.jgraph.event that return ParentMap
`ParentMap` | `GraphModelEvent.GraphModelChange.getParentMap()` Returns a parent map representing the group structure after the change was applied
`ParentMap` | `GraphModelEvent.GraphModelChange.getPreviousParentMap()` Returns a parent map representing the group structure before the change was applied ( an "undo" of the change )

Uses of ParentMap in org.jgraph.graph

Fields in org.jgraph.graph declared as ParentMap
`protected ParentMap` | `GraphTransferable.pm` Object that describes the group structure between cells.
`protected ParentMap` | `DefaultGraphModel.transEditPM` Stores nested transaction parent maps
`protected ParentMap` | `DefaultGraphModel.GraphModelEdit.parentMap`
`protected ParentMap` | `DefaultGraphModel.GraphModelEdit.previousParentMap`

Methods in org.jgraph.graph that return ParentMap
`ParentMap` | `GraphTransferable.getParentMap()`
`protected ParentMap` | `DefaultGraphModel.handleParentMap(ParentMap parentMap)` Applies `cells` to the model.
`ParentMap` | `DefaultGraphModel.GraphModelEdit.getParentMap()` Returns the parentMap.
`ParentMap` | `DefaultGraphModel.GraphModelEdit.getPreviousParentMap()`
`ParentMap` | `DefaultGraphModel.GraphModelLayerEdit.getParentMap()` Returns null.
`ParentMap` | `DefaultGraphModel.GraphModelLayerEdit.getPreviousParentMap()`
`static ParentMap` | `ParentMap.create(GraphModel m, Object[] c, boolean remove, boolean onlyUsePassedInCells)` Returns a parent map that represents the insertion or removal of `cells` in `model` based on `remove`.
`ParentMap` | `ParentMap.clone(Map map)` Creates a new parent map based on this parent map, where the child and parents are mapped using `map`.

Methods in org.jgraph.graph with parameters of type ParentMap
`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 ParentMap` | `DefaultGraphModel.handleParentMap(ParentMap parentMap)` Applies `cells` to the model.
`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.
`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 ParentMap
`GraphTransferable(Object[] cells, Map attrMap, Rectangle2D bounds, ConnectionSet cs, ParentMap pm)` Constructs a new transferable selection for `cells`, `cs`and `attrMap`.
`DefaultGraphModel.GraphModelEdit(Object[] inserted, Object[] removed, Map attributes, ConnectionSet connectionSet, ParentMap parentMap)` Constructs an edit record.

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.