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 model,
java.lang.Object cell,
java.lang.String style)
getCell
public java.lang.Object getCell()
- Returns:
- the cell
getStyle
public java.lang.String getStyle()
- Returns:
- the style
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) 2008 Gaudenz Alder. All rights reserved.