public abstract static class mxIGraphModel.mxAtomicGraphModelChange extends Object implements mxUndoableEdit.mxUndoableChange
Modifier and Type | Field and Description |
---|---|
protected mxIGraphModel |
model
Holds the model where the change happened.
|
Constructor and 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 and 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.