Package com.mxgraph.model
Class mxIGraphModel.mxAtomicGraphModelChange
java.lang.Object
com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
- All Implemented Interfaces:
mxUndoableEdit.mxUndoableChange
- Direct Known Subclasses:
mxGraphModel.mxChildChange
,mxGraphModel.mxCollapseChange
,mxGraphModel.mxGeometryChange
,mxGraphModel.mxRootChange
,mxGraphModel.mxStyleChange
,mxGraphModel.mxTerminalChange
,mxGraphModel.mxValueChange
,mxGraphModel.mxVisibleChange
- Enclosing interface:
mxIGraphModel
public abstract static class mxIGraphModel.mxAtomicGraphModelChange
extends Object
implements mxUndoableEdit.mxUndoableChange
Defines the interface for an atomic change of the graph model.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected mxIGraphModel
Holds the model where the change happened. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs an empty atomic graph model change.Constructs an atomic graph model change for the given model. -
Method Summary
Modifier and TypeMethodDescriptionabstract void
execute()
Executes the change on the model.getModel()
Returns the model where the change happened.void
setModel
(mxIGraphModel model) Sets the model where the change is to be carried out.
-
Field Details
-
model
Holds the model where the change happened.
-
-
Constructor Details
-
mxAtomicGraphModelChange
public mxAtomicGraphModelChange()Constructs an empty atomic graph model change. -
mxAtomicGraphModelChange
Constructs an atomic graph model change for the given model.
-
-
Method Details
-
getModel
Returns the model where the change happened. -
setModel
Sets the model where the change is to be carried out. -
execute
public abstract void execute()Executes the change on the model.- Specified by:
execute
in interfacemxUndoableEdit.mxUndoableChange
-