Package 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
-
-
Constructor Summary
Constructors Constructor Description mxTerminalChange()
mxTerminalChange(mxGraphModel model, java.lang.Object cell, java.lang.Object terminal, boolean source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
Changes the root of the model.java.lang.Object
getCell()
java.lang.Object
getPrevious()
java.lang.Object
getTerminal()
boolean
isSource()
void
setCell(java.lang.Object value)
void
setPrevious(java.lang.Object value)
void
setSource(boolean value)
void
setTerminal(java.lang.Object value)
-
Methods inherited from class com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
getModel, setModel
-
-
-
-
Constructor Detail
-
mxTerminalChange
public mxTerminalChange()
-
mxTerminalChange
public mxTerminalChange(mxGraphModel model, java.lang.Object cell, java.lang.Object terminal, boolean source)
-
-
Method Detail
-
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 interfacemxUndoableEdit.mxUndoableChange
- Specified by:
execute
in classmxIGraphModel.mxAtomicGraphModelChange
-
-