public static class mxGraphModel.mxVisibleChange extends mxIGraphModel.mxAtomicGraphModelChange
Modifier and Type | Field and Description |
---|---|
protected Object |
cell |
protected boolean |
previous |
protected boolean |
visible |
model
Constructor and Description |
---|
mxVisibleChange() |
mxVisibleChange(mxGraphModel model,
Object cell,
boolean visible) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Changes the root of the model.
|
Object |
getCell() |
boolean |
getPrevious() |
boolean |
isVisible() |
void |
setCell(Object value) |
void |
setPrevious(boolean value) |
void |
setVisible(boolean value) |
getModel, setModel
protected Object cell
protected boolean visible
protected boolean previous
public mxVisibleChange()
public mxVisibleChange(mxGraphModel model, Object cell, boolean visible)
public void setCell(Object value)
public 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.mxUndoableChange
execute
in class mxIGraphModel.mxAtomicGraphModelChange
Copyright (c) 2010-2017 Gaudenz Alder, JGraph Ltd. All rights reserved.