Package com.mxgraph.model
Class mxGraphModel.mxValueChange
- java.lang.Object
-
- com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
-
- com.mxgraph.model.mxGraphModel.mxValueChange
-
- All Implemented Interfaces:
mxUndoableEdit.mxUndoableChange
- Enclosing class:
- mxGraphModel
public static class mxGraphModel.mxValueChange extends mxIGraphModel.mxAtomicGraphModelChange
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Object
cell
protected java.lang.Object
previous
protected java.lang.Object
value
-
Fields inherited from class com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
model
-
-
Constructor Summary
Constructors Constructor Description mxValueChange()
mxValueChange(mxGraphModel model, java.lang.Object cell, java.lang.Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
Changes the root of the model.java.lang.Object
getCell()
java.lang.Object
getPrevious()
java.lang.Object
getValue()
void
setCell(java.lang.Object value)
void
setPrevious(java.lang.Object value)
void
setValue(java.lang.Object value)
-
Methods inherited from class com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
getModel, setModel
-
-
-
-
Constructor Detail
-
mxValueChange
public mxValueChange()
-
mxValueChange
public mxValueChange(mxGraphModel model, java.lang.Object cell, java.lang.Object value)
-
-
Method Detail
-
setCell
public void setCell(java.lang.Object value)
-
getCell
public java.lang.Object getCell()
- Returns:
- the cell
-
setValue
public void setValue(java.lang.Object value)
-
getValue
public java.lang.Object getValue()
- Returns:
- the value
-
setPrevious
public void setPrevious(java.lang.Object value)
-
getPrevious
public java.lang.Object 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
-
-