mxUndoableEdit.mxUndoableChange
mxGraphModel.mxChildChange
, mxGraphModel.mxCollapseChange
, mxGraphModel.mxGeometryChange
, mxGraphModel.mxRootChange
, mxGraphModel.mxStyleChange
, mxGraphModel.mxTerminalChange
, mxGraphModel.mxValueChange
, mxGraphModel.mxVisibleChange
public abstract static class mxIGraphModel.mxAtomicGraphModelChange extends java.lang.Object implements mxUndoableEdit.mxUndoableChange
Modifier and Type | Field | Description |
---|---|---|
protected mxIGraphModel |
model |
Holds the model where the change happened.
|
Constructor | Description |
---|---|
mxAtomicGraphModelChange() |
Constructs an empty atomic graph model change.
|
mxAtomicGraphModelChange(mxIGraphModel model) |
Constructs an atomic graph model change for the given model.
|
Modifier and Type | Method | Description |
---|---|---|
abstract void |
execute() |
Executes the change on the model.
|
mxIGraphModel |
getModel() |
Returns the model where the change happened.
|
void |
setModel(mxIGraphModel model) |
Sets the model where the change is to be carried out.
|
protected mxIGraphModel model
public mxAtomicGraphModelChange()
public mxAtomicGraphModelChange(mxIGraphModel model)
public mxIGraphModel getModel()
public void setModel(mxIGraphModel model)
public abstract void execute()
execute
in interface mxUndoableEdit.mxUndoableChange
Copyright (c) 2010-2017 Gaudenz Alder, JGraph Ltd. All rights reserved.