com.mxgraph.model
Class mxGraphModel.mxTerminalChange
java.lang.Object
com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
com.mxgraph.model.mxGraphModel.mxTerminalChange
- All Implemented Interfaces:
- mxUndoableEdit.mxUndoableChange
- Enclosing class:
- mxGraphModel
public static class mxGraphModel.mxTerminalChange
- extends mxIGraphModel.mxAtomicGraphModelChange
Field Summary |
protected java.lang.Object |
cell
|
protected java.lang.Object |
previous
|
protected boolean |
source
|
protected java.lang.Object |
terminal
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cell
protected java.lang.Object cell
terminal
protected java.lang.Object terminal
previous
protected java.lang.Object previous
source
protected boolean source
mxGraphModel.mxTerminalChange
public mxGraphModel.mxTerminalChange()
mxGraphModel.mxTerminalChange
public mxGraphModel.mxTerminalChange(mxGraphModel model,
java.lang.Object cell,
java.lang.Object terminal,
boolean source)
setCell
public void setCell(java.lang.Object value)
getCell
public java.lang.Object getCell()
- Returns:
- the cell
setTerminal
public void setTerminal(java.lang.Object value)
getTerminal
public java.lang.Object getTerminal()
- Returns:
- the terminal
setPrevious
public void setPrevious(java.lang.Object value)
getPrevious
public java.lang.Object getPrevious()
- Returns:
- the previous
setSource
public void setSource(boolean value)
isSource
public boolean isSource()
- Returns:
- the isSource
execute
public void execute()
- Changes the root of the model.
- Specified by:
execute
in interface mxUndoableEdit.mxUndoableChange
- Specified by:
execute
in class mxIGraphModel.mxAtomicGraphModelChange
Copyright (c) 2010 Gaudenz Alder. All rights reserved.