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 boolean |
isSource
|
protected java.lang.Object |
previous
|
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
isSource
protected boolean isSource
mxGraphModel.mxTerminalChange
public mxGraphModel.mxTerminalChange(mxGraphModel model,
java.lang.Object cell,
java.lang.Object terminal,
boolean isSource)
getCell
public java.lang.Object getCell()
- Returns:
- the cell
getTerminal
public java.lang.Object getTerminal()
- Returns:
- the terminal
getPrevious
public java.lang.Object getPrevious()
- Returns:
- the previous
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) 2008 Gaudenz Alder. All rights reserved.