|
JGraph X 1.4.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
com.mxgraph.model.mxGraphModel.mxRootChange
public static class mxGraphModel.mxRootChange
| Field Summary | |
|---|---|
protected java.lang.Object |
previous
Holds the new and previous root cell. |
protected java.lang.Object |
root
Holds the new and previous root cell. |
| Fields inherited from class com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange |
|---|
model |
| Constructor Summary | |
|---|---|
mxGraphModel.mxRootChange(mxGraphModel model,
java.lang.Object root)
|
|
| Method Summary | |
|---|---|
void |
execute()
Changes the root of the model. |
java.lang.Object |
getPrevious()
|
java.lang.Object |
getRoot()
|
| Methods inherited from class com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange |
|---|
getModel, setModel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.Object root
protected java.lang.Object previous
| Constructor Detail |
|---|
public mxGraphModel.mxRootChange(mxGraphModel model,
java.lang.Object root)
| Method Detail |
|---|
public java.lang.Object getRoot()
public java.lang.Object getPrevious()
public void execute()
execute in interface mxUndoableEdit.mxUndoableChangeexecute in class mxIGraphModel.mxAtomicGraphModelChange
|
JGraph X 1.4.1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||