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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cell
protected Object cell
value
protected Object value
previous
protected Object previous
mxGraphModel.mxValueChange
public mxGraphModel.mxValueChange()
mxGraphModel.mxValueChange
public mxGraphModel.mxValueChange(mxGraphModel model,
Object cell,
Object value)
setCell
public void setCell(Object value)
getCell
public Object getCell()
- Returns:
- the cell
setValue
public void setValue(Object value)
getValue
public Object getValue()
- Returns:
- the value
setPrevious
public void setPrevious(Object 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
Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.