public static class mxGraphModel.mxStyleChange extends mxIGraphModel.mxAtomicGraphModelChange
Modifier and Type | Field and Description |
---|---|
protected Object |
cell |
protected String |
previous |
protected String |
style |
model
Constructor and Description |
---|
mxStyleChange() |
mxStyleChange(mxGraphModel model,
Object cell,
String style) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Changes the root of the model.
|
Object |
getCell() |
String |
getPrevious() |
String |
getStyle() |
void |
setCell(Object value) |
void |
setPrevious(String value) |
void |
setStyle(String value) |
getModel, setModel
protected Object cell
protected String style
protected String previous
public mxStyleChange()
public mxStyleChange(mxGraphModel model, Object cell, String style)
public void setCell(Object value)
public Object getCell()
public void setStyle(String value)
public String getStyle()
public void setPrevious(String value)
public 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.