com.mxgraph.model
public static class mxGraphModel.mxCollapseChange extends mxIGraphModel.mxAtomicGraphModelChange
Modifier and Type | Field and Description |
---|---|
protected Object |
cell |
protected boolean |
collapsed |
protected boolean |
previous |
model
Constructor and Description |
---|
mxGraphModel.mxCollapseChange(mxGraphModel model,
Object cell,
boolean collapsed) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Changes the root of the model.
|
Object |
getCell() |
boolean |
getPrevious() |
boolean |
isCollapsed() |
getModel, setModel
protected Object cell
protected boolean collapsed
protected boolean previous
public mxGraphModel.mxCollapseChange(mxGraphModel model, Object cell, boolean collapsed)
public Object getCell()
public boolean isCollapsed()
public boolean getPrevious()
public void execute()
execute
in interface mxUndoableEdit.mxUndoableChange
execute
in class mxIGraphModel.mxAtomicGraphModelChange
Copyright (c) 2010 Gaudenz Alder. All rights reserved.