com.mxgraph.model
Class mxGraphModel.mxCollapseChange
java.lang.Object
com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
com.mxgraph.model.mxGraphModel.mxCollapseChange
- All Implemented Interfaces:
- mxUndoableEdit.mxUndoableChange
- Enclosing class:
- mxGraphModel
public static class mxGraphModel.mxCollapseChange
- extends mxIGraphModel.mxAtomicGraphModelChange
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cell
protected Object cell
collapsed
protected boolean collapsed
previous
protected boolean previous
mxGraphModel.mxCollapseChange
public mxGraphModel.mxCollapseChange(mxGraphModel model,
Object cell,
boolean collapsed)
getCell
public Object getCell()
- Returns:
- the cell
isCollapsed
public boolean isCollapsed()
- Returns:
- the collapsed
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.