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
-
Field Summary
FieldsFields inherited from class com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
model
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
Changes the root of the model.getCell()
boolean
boolean
void
void
setPrevious
(boolean value) void
setVisible
(boolean value) Methods inherited from class com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
getModel, setModel
-
Field Details
-
cell
-
visible
protected boolean visible -
previous
protected boolean previous
-
-
Constructor Details
-
mxVisibleChange
public mxVisibleChange() -
mxVisibleChange
-
-
Method Details
-
setCell
-
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
-