public static class mxGraphView.mxCurrentRootChange extends java.lang.Object implements mxUndoableEdit.mxUndoableChange
Modifier and Type | Field and Description |
---|---|
protected java.lang.Object |
previous |
protected java.lang.Object |
root |
protected boolean |
up |
protected mxGraphView |
view |
Constructor and Description |
---|
mxCurrentRootChange(mxGraphView view,
java.lang.Object root)
Constructs a change of the current root in the given view.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Changes the current root of the view.
|
java.lang.Object |
getPrevious()
Returns the previous root.
|
java.lang.Object |
getRoot()
Returns the root.
|
mxGraphView |
getView()
Returns the graph view where the change happened.
|
boolean |
isUp()
Returns true if the drilling went upwards.
|
protected mxGraphView view
protected java.lang.Object root
protected java.lang.Object previous
protected boolean up
public mxCurrentRootChange(mxGraphView view, java.lang.Object root)
public mxGraphView getView()
public java.lang.Object getRoot()
public java.lang.Object getPrevious()
public boolean isUp()
public void execute()
execute
in interface mxUndoableEdit.mxUndoableChange
Copyright (c) 2010-2017 Gaudenz Alder, JGraph Ltd. All rights reserved.