public static class mxGraphModel.mxTerminalChange extends mxIGraphModel.mxAtomicGraphModelChange
Modifier and Type | Field and Description |
---|---|
protected Object |
cell |
protected Object |
previous |
protected boolean |
source |
protected Object |
terminal |
model
Constructor and Description |
---|
mxTerminalChange() |
mxTerminalChange(mxGraphModel model,
Object cell,
Object terminal,
boolean source) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Changes the root of the model.
|
Object |
getCell() |
Object |
getPrevious() |
Object |
getTerminal() |
boolean |
isSource() |
void |
setCell(Object value) |
void |
setPrevious(Object value) |
void |
setSource(boolean value) |
void |
setTerminal(Object value) |
getModel, setModel
protected Object cell
protected Object terminal
protected Object previous
protected boolean source
public mxTerminalChange()
public mxTerminalChange(mxGraphModel model, Object cell, Object terminal, boolean source)
public void setCell(Object value)
public Object getCell()
public void setTerminal(Object value)
public Object getTerminal()
public void setPrevious(Object value)
public Object getPrevious()
public void setSource(boolean value)
public boolean isSource()
public void execute()
execute
in interface mxUndoableEdit.mxUndoableChange
execute
in class mxIGraphModel.mxAtomicGraphModelChange
Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.