public static class mxGraphModel.mxGeometryChange extends mxIGraphModel.mxAtomicGraphModelChange
Modifier and Type | Field and Description |
---|---|
protected java.lang.Object |
cell |
protected mxGeometry |
geometry |
protected mxGeometry |
previous |
model
Constructor and Description |
---|
mxGeometryChange() |
mxGeometryChange(mxGraphModel model,
java.lang.Object cell,
mxGeometry geometry) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Changes the root of the model.
|
java.lang.Object |
getCell() |
mxGeometry |
getGeometry() |
mxGeometry |
getPrevious() |
void |
setCell(java.lang.Object value) |
void |
setGeometry(mxGeometry value) |
void |
setPrevious(mxGeometry value) |
getModel, setModel
protected java.lang.Object cell
protected mxGeometry geometry
protected mxGeometry previous
public mxGeometryChange()
public mxGeometryChange(mxGraphModel model, java.lang.Object cell, mxGeometry geometry)
public void setCell(java.lang.Object value)
public java.lang.Object getCell()
public void setGeometry(mxGeometry value)
public mxGeometry getGeometry()
public void setPrevious(mxGeometry value)
public mxGeometry 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.