com.mxgraph.model
Class mxGraphModel.mxStyleChange
java.lang.Object
com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
com.mxgraph.model.mxGraphModel.mxStyleChange
- All Implemented Interfaces:
- mxUndoableEdit.mxUndoableChange
- Enclosing class:
- mxGraphModel
public static class mxGraphModel.mxStyleChange
- extends mxIGraphModel.mxAtomicGraphModelChange
Field Summary |
protected java.lang.Object |
cell
|
protected java.lang.String |
previous
|
protected java.lang.String |
style
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cell
protected java.lang.Object cell
style
protected java.lang.String style
previous
protected java.lang.String previous
mxGraphModel.mxStyleChange
public mxGraphModel.mxStyleChange()
mxGraphModel.mxStyleChange
public mxGraphModel.mxStyleChange(mxGraphModel model,
java.lang.Object cell,
java.lang.String style)
setCell
public void setCell(java.lang.Object value)
getCell
public java.lang.Object getCell()
- Returns:
- the cell
setStyle
public void setStyle(java.lang.String value)
getStyle
public java.lang.String getStyle()
- Returns:
- the style
setPrevious
public void setPrevious(java.lang.String value)
getPrevious
public java.lang.String 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.