JGraph X 1.4.1.0


com.mxgraph.model
Class mxGraphModel.mxGeometryChange

java.lang.Object
  extended by com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
      extended by com.mxgraph.model.mxGraphModel.mxGeometryChange
All Implemented Interfaces:
mxUndoableEdit.mxUndoableChange
Enclosing class:
mxGraphModel

public static class mxGraphModel.mxGeometryChange
extends mxIGraphModel.mxAtomicGraphModelChange


Field Summary
protected  Object cell
           
protected  mxGeometry geometry
           
protected  mxGeometry previous
           
 
Fields inherited from class com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
model
 
Constructor Summary
mxGraphModel.mxGeometryChange(mxGraphModel model, Object cell, mxGeometry geometry)
           
 
Method Summary
 void execute()
          Changes the root of the model.
 Object getCell()
           
 mxGeometry getGeometry()
           
 mxGeometry getPrevious()
           
 
Methods inherited from class com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
getModel, setModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cell

protected Object cell

geometry

protected mxGeometry geometry

previous

protected mxGeometry previous
Constructor Detail

mxGraphModel.mxGeometryChange

public mxGraphModel.mxGeometryChange(mxGraphModel model,
                                     Object cell,
                                     mxGeometry geometry)
Method Detail

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

JGraph X 1.4.1.0


Copyright (c) 2010 Gaudenz Alder. All rights reserved.