|
JGraph
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
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 |
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 maps |
Methods in org.jgraph.graph that return ParentMap | |
---|---|
ParentMap |
ParentMap.clone(java.util.Map map)
Creates a new parent map based on this parent map, where the child and parents are mapped using map . |
static ParentMap |
ParentMap.create(GraphModel m,
java.lang.Object[] c,
boolean remove,
boolean onlyUsePassedInCells)
Returns a parent map that represents the insertion or removal of cells in model based on remove . |
ParentMap |
DefaultGraphModel.GraphModelEdit.getParentMap()
Returns the parentMap. |
ParentMap |
DefaultGraphModel.GraphModelLayerEdit.getParentMap()
Returns null. |
ParentMap |
GraphTransferable.getParentMap()
|
ParentMap |
DefaultGraphModel.GraphModelEdit.getPreviousParentMap()
|
ParentMap |
DefaultGraphModel.GraphModelLayerEdit.getPreviousParentMap()
|
protected ParentMap |
DefaultGraphModel.handleParentMap(ParentMap parentMap)
Applies cells to the model. |
Methods in org.jgraph.graph with parameters of type ParentMap | |
---|---|
protected GraphTransferable |
GraphTransferHandler.create(JGraph graph,
java.lang.Object[] cells,
java.util.Map viewAttributes,
java.awt.geom.Rectangle2D bounds,
ConnectionSet cs,
ParentMap pm)
|
protected DefaultGraphModel.GraphModelEdit |
DefaultGraphModel.createEdit(java.lang.Object[] inserted,
java.lang.Object[] removed,
java.util.Map attributes,
ConnectionSet cs,
ParentMap pm,
javax.swing.undo.UndoableEdit[] edits)
|
void |
GraphModel.edit(java.util.Map attributes,
ConnectionSet cs,
ParentMap pm,
javax.swing.undo.UndoableEdit[] e)
Applies the propertyMap and the connection changes to the
model. |
void |
DefaultGraphModel.edit(java.util.Map attributes,
ConnectionSet cs,
ParentMap pm,
javax.swing.undo.UndoableEdit[] edits)
Shortcut to the new edit method which allows inserts and removes to go along with an edit. |
void |
GraphLayoutCache.edit(java.util.Map attributes,
ConnectionSet cs,
ParentMap pm,
javax.swing.undo.UndoableEdit[] e)
Applies the propertyMap and the connection changes to the
model. |
void |
DefaultGraphModel.edit(java.lang.Object[] inserted,
java.lang.Object[] removed,
java.util.Map attributes,
ConnectionSet cs,
ParentMap pm,
javax.swing.undo.UndoableEdit[] edits)
Applies attributes and the connection changes to the
model. |
protected void |
GraphTransferHandler.handleExternalDrop(JGraph graph,
java.lang.Object[] cells,
java.util.Map nested,
ConnectionSet cs,
ParentMap pm,
double dx,
double dy)
|
protected ParentMap |
DefaultGraphModel.handleParentMap(ParentMap parentMap)
Applies cells to the model. |
void |
GraphLayoutCache.insert(java.lang.Object[] cells,
java.util.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 |
GraphModel.insert(java.lang.Object[] roots,
java.util.Map attributes,
ConnectionSet cs,
ParentMap pm,
javax.swing.undo.UndoableEdit[] e)
Inserts the cells and connections into the model, and
passes attributes to the views. |
void |
DefaultGraphModel.insert(java.lang.Object[] roots,
java.util.Map attributes,
ConnectionSet cs,
ParentMap pm,
javax.swing.undo.UndoableEdit[] edits)
Inserts the roots and connections into the model. |
void |
GraphLayoutCache.insert(java.lang.Object[] roots,
java.util.Map attributes,
ConnectionSet cs,
ParentMap pm,
javax.swing.undo.UndoableEdit[] e)
Inserts the cells and connections into the model, and
absorbs the local attributes. |
java.lang.Object[] |
GraphLayoutCache.insertClones(java.lang.Object[] cells,
java.util.Map clones,
java.util.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(java.lang.Object[] inserted,
java.lang.Object[] removed,
java.util.Map attributes,
ConnectionSet cs,
ParentMap pm)
Updates the current state of the various transaction data |
Constructors in org.jgraph.graph with parameters of type ParentMap | |
---|---|
DefaultGraphModel.GraphModelEdit(java.lang.Object[] inserted,
java.lang.Object[] removed,
java.util.Map attributes,
ConnectionSet connectionSet,
ParentMap parentMap)
Constructs an edit record. |
|
GraphTransferable(java.lang.Object[] cells,
java.util.Map attrMap,
java.awt.geom.Rectangle2D bounds,
ConnectionSet cs,
ParentMap pm)
Constructs a new transferable selection for cells ,
cs and attrMap . |
|
JGraph
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |