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