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