public static class mxGraphSelectionModel.mxSelectionChange extends Object implements mxUndoableEdit.mxUndoableChange
Modifier and Type | Field and Description |
---|---|
protected Collection<Object> |
added |
protected mxGraphSelectionModel |
model |
protected Collection<Object> |
removed |
Constructor and Description |
---|
mxSelectionChange(mxGraphSelectionModel model,
Collection<Object> added,
Collection<Object> removed) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Undoes or redoes the change depending on its undo state.
|
protected mxGraphSelectionModel model
protected Collection<Object> added
protected Collection<Object> removed
public mxSelectionChange(mxGraphSelectionModel model, Collection<Object> added, Collection<Object> removed)
model
- added
- removed
- public void execute()
mxUndoableEdit.mxUndoableChange
execute
in interface mxUndoableEdit.mxUndoableChange
Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.