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 ParentMapDefaultGraphModel.GraphModelEdit.parentMapprotected ParentMapGraphTransferable.pmObject that describes the group structure between cells.protected ParentMapDefaultGraphModel.GraphModelEdit.previousParentMapprotected ParentMapDefaultGraphModel.transEditPMStores 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 ParentMapParentMap.create(GraphModel m, Object[] c, boolean remove, boolean onlyUsePassedInCells) Returns a parent map that represents the insertion or removal ofcellsinmodelbased onremove.DefaultGraphModel.GraphModelEdit.getParentMap()Returns the parentMap.DefaultGraphModel.GraphModelLayerEdit.getParentMap()Returns null.GraphTransferable.getParentMap()DefaultGraphModel.GraphModelEdit.getPreviousParentMap()DefaultGraphModel.GraphModelLayerEdit.getPreviousParentMap()protected ParentMapDefaultGraphModel.handleParentMap(ParentMap parentMap) Appliescellsto the model.Methods in org.jgraph.graph with parameters of type ParentMapModifier and TypeMethodDescriptionprotected 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 voidGraphTransferHandler.handleExternalDrop(JGraph graph, Object[] cells, Map nested, ConnectionSet cs, ParentMap pm, double dx, double dy) protected ParentMapDefaultGraphModel.handleParentMap(ParentMap parentMap) Appliescellsto the model.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.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 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,csandattrMap.