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 java.lang.Object implements mxUndoableEdit.mxUndoableChange
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Collection<java.lang.Object>
added
protected mxGraphSelectionModel
model
protected java.util.Collection<java.lang.Object>
removed
-
Constructor Summary
Constructors Constructor Description mxSelectionChange(mxGraphSelectionModel model, java.util.Collection<java.lang.Object> added, java.util.Collection<java.lang.Object> removed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
Undoes or redoes the change depending on its undo state.
-
-
-
Field Detail
-
model
protected mxGraphSelectionModel model
-
added
protected java.util.Collection<java.lang.Object> added
-
removed
protected java.util.Collection<java.lang.Object> removed
-
-
Constructor Detail
-
mxSelectionChange
public mxSelectionChange(mxGraphSelectionModel model, java.util.Collection<java.lang.Object> added, java.util.Collection<java.lang.Object> removed)
- Parameters:
model
-added
-removed
-
-
-
Method Detail
-
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
-
-