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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cell
protected Object cell
geometry
protected mxGeometry geometry
previous
protected mxGeometry previous
mxGraphModel.mxGeometryChange
public mxGraphModel.mxGeometryChange(mxGraphModel model,
Object cell,
mxGeometry geometry)
getCell
public Object getCell()
- Returns:
- the cell
getGeometry
public mxGeometry getGeometry()
- Returns:
- the geometry
getPrevious
public mxGeometry getPrevious()
- Returns:
- the previous
execute
public void execute()
- Changes the root of the model.
- Specified by:
execute
in interface mxUndoableEdit.mxUndoableChange
- Specified by:
execute
in class mxIGraphModel.mxAtomicGraphModelChange
Copyright (c) 2010 Gaudenz Alder. All rights reserved.