com.mxgraph.model
Class mxGraphModel.mxVisibleChange
java.lang.Object
com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
com.mxgraph.model.mxGraphModel.mxVisibleChange
- All Implemented Interfaces:
- mxUndoableEdit.mxUndoableChange
- Enclosing class:
- mxGraphModel
public static class mxGraphModel.mxVisibleChange
- extends mxIGraphModel.mxAtomicGraphModelChange
Field Summary |
protected java.lang.Object |
cell
|
protected boolean |
previous
|
protected boolean |
visible
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cell
protected java.lang.Object cell
visible
protected boolean visible
previous
protected boolean previous
mxGraphModel.mxVisibleChange
public mxGraphModel.mxVisibleChange(mxGraphModel model,
java.lang.Object cell,
boolean visible)
getCell
public java.lang.Object getCell()
- Returns:
- the cell
isVisible
public boolean isVisible()
- Returns:
- the visible
getPrevious
public boolean getPrevious()
- Returns:
- the previous
execute
public void execute()
- Changes the root of the model.
- Specified by:
execute
in interface mxUndoableEdit.mxUndoableChange
- Specified by:
execute
in class mxIGraphModel.mxAtomicGraphModelChange
Copyright (c) 2010 Gaudenz Alder. All rights reserved.