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 Object
protected Object
protected boolean
protected Object
Fields inherited from class com.mxgraph.model.mxIGraphModel.mxAtomicGraphModelChange
model
-
Constructor Summary
ConstructorsConstructorDescriptionmxTerminalChange
(mxGraphModel model, Object cell, Object terminal, boolean source) -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
Changes the root of the model.getCell()
boolean
isSource()
void
void
setPrevious
(Object value) void
setSource
(boolean value) void
setTerminal
(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:
execute
in interfacemxUndoableEdit.mxUndoableChange
- Specified by:
execute
in classmxIGraphModel.mxAtomicGraphModelChange
-