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.mxVisibleChange
public mxGraphModel.mxVisibleChange(mxGraphModel model,
java.lang.Object cell,
boolean visible)
setCell
public void setCell(java.lang.Object value)
getCell
public java.lang.Object getCell()
- Returns:
- the cell
setVisible
public void setVisible(boolean value)
isVisible
public boolean isVisible()
- Returns:
- the visible
setPrevious
public void setPrevious(boolean value)
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.