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.mxCollapseChange
public mxGraphModel.mxCollapseChange(mxGraphModel model,
Object cell,
boolean collapsed)
setCell
public void setCell(Object value)
getCell
public Object getCell()
- Returns:
- the cell
setCollapsed
public void setCollapsed(boolean value)
isCollapsed
public boolean isCollapsed()
- Returns:
- the collapsed
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, David Benson. All rights reserved.