public static class mxGraphModel.mxStyleChange extends mxIGraphModel.mxAtomicGraphModelChange
Modifier and Type | Field and Description |
---|---|
protected java.lang.Object |
cell |
protected java.lang.String |
previous |
protected java.lang.String |
style |
model
Constructor and Description |
---|
mxStyleChange() |
mxStyleChange(mxGraphModel model,
java.lang.Object cell,
java.lang.String style) |
Modifier and Type | Method and 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) |
getModel, setModel
protected java.lang.Object cell
protected java.lang.String style
protected java.lang.String previous
public mxStyleChange()
public mxStyleChange(mxGraphModel model, java.lang.Object cell, java.lang.String style)
public void setCell(java.lang.Object value)
public java.lang.Object getCell()
public void setStyle(java.lang.String value)
public java.lang.String getStyle()
public void setPrevious(java.lang.String value)
public java.lang.String getPrevious()
public void execute()
execute
in interface mxUndoableEdit.mxUndoableChange
execute
in class mxIGraphModel.mxAtomicGraphModelChange
Copyright (c) 2010-2017 Gaudenz Alder, JGraph Ltd. All rights reserved.