Package com.mxgraph.view
Class mxGraphSelectionModel.mxSelectionChange
java.lang.Object
com.mxgraph.view.mxGraphSelectionModel.mxSelectionChange
- All Implemented Interfaces:
mxUndoableEdit.mxUndoableChange
- Enclosing class:
mxGraphSelectionModel
public static class mxGraphSelectionModel.mxSelectionChange
extends Object
implements mxUndoableEdit.mxUndoableChange
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Collection
<Object> protected mxGraphSelectionModel
protected Collection
<Object> -
Constructor Summary
ConstructorsConstructorDescriptionmxSelectionChange
(mxGraphSelectionModel model, Collection<Object> added, Collection<Object> removed) -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
Undoes or redoes the change depending on its undo state.
-
Field Details
-
model
-
added
-
removed
-
-
Constructor Details
-
mxSelectionChange
public mxSelectionChange(mxGraphSelectionModel model, Collection<Object> added, Collection<Object> removed) - Parameters:
model
-added
-removed
-
-
-
Method Details
-
execute
public void execute()Description copied from interface:mxUndoableEdit.mxUndoableChange
Undoes or redoes the change depending on its undo state.- Specified by:
execute
in interfacemxUndoableEdit.mxUndoableChange
-