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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Objectprotected Objectprotected booleanprotected ObjectFields inherited from class com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
model -
Constructor Summary
ConstructorsConstructorDescriptionmxTerminalChange(mxGraphModel model, Object cell, Object terminal, boolean source) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Changes the root of the model.getCell()booleanisSource()voidvoidsetPrevious(Object value) voidsetSource(boolean value) voidsetTerminal(Object value) Methods inherited from class com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
getModel, setModel
-
Field Details
-
cell
-
terminal
-
previous
-
source
protected boolean source
-
-
Constructor Details
-
mxTerminalChange
public mxTerminalChange() -
mxTerminalChange
-
-
Method Details
-
setCell
-
getCell
- Returns:
- the cell
-
setTerminal
-
getTerminal
- Returns:
- the terminal
-
setPrevious
-
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:
executein interfacemxUndoableEdit.mxUndoableChange- Specified by:
executein classmxIGraphModel.mxAtomicGraphModelChange
-