public static class mxGraphModel.mxValueChange extends mxIGraphModel.mxAtomicGraphModelChange
Modifier and Type | Field and Description |
---|---|
protected Object |
cell |
protected Object |
previous |
protected Object |
value |
model
Constructor and Description |
---|
mxValueChange() |
mxValueChange(mxGraphModel model,
Object cell,
Object value) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Changes the root of the model.
|
Object |
getCell() |
Object |
getPrevious() |
Object |
getValue() |
void |
setCell(Object value) |
void |
setPrevious(Object value) |
void |
setValue(Object value) |
getModel, setModel
protected Object cell
protected Object value
protected Object previous
public mxValueChange()
public mxValueChange(mxGraphModel model, Object cell, Object value)
public void setCell(Object value)
public Object getCell()
public void setValue(Object value)
public Object getValue()
public void setPrevious(Object value)
public Object getPrevious()
public void execute()
execute
in interface mxUndoableEdit.mxUndoableChange
execute
in class mxIGraphModel.mxAtomicGraphModelChange
Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.