Package 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
Fields Modifier and Type Field Description protected java.lang.Object
cell
protected java.lang.String
previous
protected java.lang.String
style
-
Fields inherited from class com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
model
-
-
Constructor Summary
Constructors Constructor Description mxStyleChange()
mxStyleChange(mxGraphModel model, java.lang.Object cell, java.lang.String style)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
Changes the root of the model.java.lang.Object
getCell()
java.lang.String
getPrevious()
java.lang.String
getStyle()
void
setCell(java.lang.Object value)
void
setPrevious(java.lang.String value)
void
setStyle(java.lang.String value)
-
Methods inherited from class com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
getModel, setModel
-
-
-
-
Constructor Detail
-
mxStyleChange
public mxStyleChange()
-
mxStyleChange
public mxStyleChange(mxGraphModel model, java.lang.Object cell, java.lang.String style)
-
-
Method Detail
-
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 interfacemxUndoableEdit.mxUndoableChange
- Specified by:
execute
in classmxIGraphModel.mxAtomicGraphModelChange
-
-