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