Package com.mxgraph.model
Class mxGraphModel.mxVisibleChange
- java.lang.Object
-
- com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
-
- com.mxgraph.model.mxGraphModel.mxVisibleChange
-
- All Implemented Interfaces:
mxUndoableEdit.mxUndoableChange
- Enclosing class:
- mxGraphModel
public static class mxGraphModel.mxVisibleChange extends mxIGraphModel.mxAtomicGraphModelChange
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Object
cell
protected boolean
previous
protected boolean
visible
-
Fields inherited from class com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
model
-
-
Constructor Summary
Constructors Constructor Description mxVisibleChange()
mxVisibleChange(mxGraphModel model, java.lang.Object cell, boolean visible)
-
Method Summary
Modifier and Type Method 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)
-
Methods inherited from class com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
getModel, setModel
-
-
-
-
Constructor Detail
-
mxVisibleChange
public mxVisibleChange()
-
mxVisibleChange
public mxVisibleChange(mxGraphModel model, java.lang.Object cell, boolean visible)
-
-
Method Detail
-
setCell
public void setCell(java.lang.Object value)
-
getCell
public java.lang.Object getCell()
- Returns:
- the cell
-
setVisible
public void setVisible(boolean value)
-
isVisible
public boolean isVisible()
- Returns:
- the visible
-
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 interfacemxUndoableEdit.mxUndoableChange
- Specified by:
execute
in classmxIGraphModel.mxAtomicGraphModelChange
-
-