Package | Description |
---|---|
com.mxgraph.model |
This package contains the classes that define a graph model.
|
com.mxgraph.util |
This package provides utility classes such as mxConstants, mxUtils, mxPoint
and mxRectangle as well as all classes for custom events and the undo
history.
|
com.mxgraph.view |
This package implements the graph component, represented by the mxGraph
class.
|
Modifier and Type | Field | Description |
---|---|---|
protected mxUndoableEdit |
mxGraphModel.currentEdit |
Holds the changes for the current transaction.
|
Modifier and Type | Method | Description |
---|---|---|
protected mxUndoableEdit |
mxGraphModel.createUndoableEdit() |
Creates a new undoable edit.
|
Modifier and Type | Field | Description |
---|---|---|
protected java.util.List<mxUndoableEdit> |
mxUndoManager.history |
List that contains the steps of the command history.
|
Modifier and Type | Method | Description |
---|---|---|
void |
mxUndoManager.undoableEditHappened(mxUndoableEdit undoableEdit) |
Method to be called to add new undoable edits to the history.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
mxLayoutManager.beforeUndo(mxUndoableEdit edit) |
Copyright (c) 2010-2017 Gaudenz Alder, JGraph Ltd. All rights reserved.