public static class mxGraphModel.mxVisibleChange extends mxIGraphModel.mxAtomicGraphModelChange
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Object |
cell |
protected boolean |
previous |
protected boolean |
visible |
model| Constructor and Description |
|---|
mxVisibleChange() |
mxVisibleChange(mxGraphModel model,
java.lang.Object cell,
boolean visible) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Changes the root of the model.
|
java.lang.Object |
getCell() |
boolean |
getPrevious() |
boolean |
isVisible() |
void |
setCell(java.lang.Object value) |
void |
setPrevious(boolean value) |
void |
setVisible(boolean value) |
getModel, setModelprotected java.lang.Object cell
protected boolean visible
protected boolean previous
public mxVisibleChange()
public mxVisibleChange(mxGraphModel model, java.lang.Object cell, boolean visible)
public void setCell(java.lang.Object value)
public java.lang.Object getCell()
public void setVisible(boolean value)
public boolean isVisible()
public void setPrevious(boolean value)
public boolean getPrevious()
public void execute()
execute in interface mxUndoableEdit.mxUndoableChangeexecute in class mxIGraphModel.mxAtomicGraphModelChange