public static class mxGraphModel.mxRootChange extends mxIGraphModel.mxAtomicGraphModelChange
Modifier and Type | Field and Description |
---|---|
protected java.lang.Object |
previous
Holds the new and previous root cell.
|
protected java.lang.Object |
root
Holds the new and previous root cell.
|
model
Constructor and Description |
---|
mxGraphModel.mxRootChange(mxGraphModel model,
java.lang.Object root) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Changes the root of the model.
|
java.lang.Object |
getPrevious() |
java.lang.Object |
getRoot() |
getModel, setModel
protected java.lang.Object root
protected java.lang.Object previous
public mxGraphModel.mxRootChange(mxGraphModel model, java.lang.Object root)
public java.lang.Object getRoot()
public java.lang.Object getPrevious()
public void execute()
execute
in interface mxUndoableEdit.mxUndoableChange
execute
in class mxIGraphModel.mxAtomicGraphModelChange
Copyright (c) 2010 Gaudenz Alder. All rights reserved.