JGraph X 1.4.1.0


com.mxgraph.model
Class mxGraphModel.mxValueChange

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

public static class mxGraphModel.mxValueChange
extends mxIGraphModel.mxAtomicGraphModelChange


Field Summary
protected  Object cell
           
protected  Object previous
           
protected  Object value
           
 
Fields inherited from class com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
model
 
Constructor Summary
mxGraphModel.mxValueChange(mxGraphModel model, Object cell, Object value)
           
 
Method Summary
 void execute()
          Changes the root of the model.
 Object getCell()
           
 Object getPrevious()
           
 Object getValue()
           
 
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

value

protected Object value

previous

protected Object previous
Constructor Detail

mxGraphModel.mxValueChange

public mxGraphModel.mxValueChange(mxGraphModel model,
                                  Object cell,
                                  Object value)
Method Detail

getCell

public Object getCell()
Returns:
the cell

getValue

public Object getValue()
Returns:
the value

getPrevious

public Object 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.