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.Objectcellprotected booleanpreviousprotected booleanvisible-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()Changes the root of the model.java.lang.ObjectgetCell()booleangetPrevious()booleanisVisible()voidsetCell(java.lang.Object value)voidsetPrevious(boolean value)voidsetVisible(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:
executein interfacemxUndoableEdit.mxUndoableChange- Specified by:
executein classmxIGraphModel.mxAtomicGraphModelChange
-
-