com.mxgraph.view
Class mxGraphView.mxCurrentRootChange
java.lang.Object
com.mxgraph.view.mxGraphView.mxCurrentRootChange
- All Implemented Interfaces:
- mxUndoableEdit.mxUndoableChange
- Enclosing class:
- mxGraphView
public static class mxGraphView.mxCurrentRootChange
- extends Object
- implements mxUndoableEdit.mxUndoableChange
Action to change the current root in a view.
Method Summary |
void |
execute()
Changes the current root of the view. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
view
protected mxGraphView view
root
protected Object root
previous
protected Object previous
up
protected boolean up
mxGraphView.mxCurrentRootChange
public mxGraphView.mxCurrentRootChange(mxGraphView view,
Object root)
- Constructs a change of the current root in the given view.
execute
public void execute()
- Changes the current root of the view.
- Specified by:
execute
in interface mxUndoableEdit.mxUndoableChange
Copyright (c) 2008 Gaudenz Alder. All rights reserved.