Uses of Class
org.jgraph.graph.ParentMap
Packages that use ParentMap
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.-
Uses of ParentMap in org.jgraph.event
Methods in org.jgraph.event that return ParentMapModifier and TypeMethodDescriptionGraphModelEvent.GraphModelChange.getParentMap()
Returns a parent map representing the group structure after the change was appliedGraphModelEvent.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 ParentMapModifier and TypeFieldDescriptionprotected ParentMap
DefaultGraphModel.GraphModelEdit.parentMap
protected ParentMap
GraphTransferable.pm
Object that describes the group structure between cells.protected ParentMap
DefaultGraphModel.GraphModelEdit.previousParentMap
protected ParentMap
DefaultGraphModel.transEditPM
Stores nested transaction parent mapsMethods in org.jgraph.graph that return ParentMapModifier and TypeMethodDescriptionCreates a new parent map based on this parent map, where the child and parents are mapped usingmap
.static ParentMap
ParentMap.create
(GraphModel m, Object[] c, boolean remove, boolean onlyUsePassedInCells) Returns a parent map that represents the insertion or removal ofcells
inmodel
based onremove
.DefaultGraphModel.GraphModelEdit.getParentMap()
Returns the parentMap.DefaultGraphModel.GraphModelLayerEdit.getParentMap()
Returns null.GraphTransferable.getParentMap()
DefaultGraphModel.GraphModelEdit.getPreviousParentMap()
DefaultGraphModel.GraphModelLayerEdit.getPreviousParentMap()
protected ParentMap
DefaultGraphModel.handleParentMap
(ParentMap parentMap) Appliescells
to the model.Methods in org.jgraph.graph with parameters of type ParentMapModifier and TypeMethodDescriptionprotected GraphTransferable
GraphTransferHandler.create
(JGraph graph, Object[] cells, Map viewAttributes, Rectangle2D bounds, ConnectionSet cs, ParentMap pm) protected DefaultGraphModel.GraphModelEdit
DefaultGraphModel.createEdit
(Object[] inserted, Object[] removed, Map attributes, ConnectionSet cs, ParentMap pm, UndoableEdit[] edits) void
DefaultGraphModel.edit
(Object[] inserted, Object[] removed, Map attributes, ConnectionSet cs, ParentMap pm, UndoableEdit[] edits) Appliesattributes
and the connection changes to 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
GraphLayoutCache.edit
(Map attributes, ConnectionSet cs, ParentMap pm, UndoableEdit[] e) Applies thepropertyMap
and the connection changes to the model.void
GraphModel.edit
(Map attributes, ConnectionSet cs, ParentMap pm, UndoableEdit[] e) Applies thepropertyMap
and the connection changes to the model.protected void
GraphTransferHandler.handleExternalDrop
(JGraph graph, Object[] cells, Map nested, ConnectionSet cs, ParentMap pm, double dx, double dy) protected ParentMap
DefaultGraphModel.handleParentMap
(ParentMap parentMap) Appliescells
to the model.void
DefaultGraphModel.insert
(Object[] roots, Map attributes, ConnectionSet cs, ParentMap pm, UndoableEdit[] edits) Inserts theroots
and connections into the model.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.insert
(Object[] roots, Map attributes, ConnectionSet cs, ParentMap pm, UndoableEdit[] e) Inserts thecells
and connections into the model, and absorbs the local attributes.void
GraphModel.insert
(Object[] roots, Map attributes, ConnectionSet cs, ParentMap pm, UndoableEdit[] e) Inserts thecells
and connections into the model, and passesattributes
to 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.protected void
DefaultGraphModel.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 ParentMapModifierConstructorDescriptionGraphModelEdit
(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
,cs
andattrMap
.