mxGraph 2.3.0.2


com.mxgraph.view
Class mxGraphSelectionModel.mxSelectionChange

java.lang.Object
  extended by 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
protected  Collection<Object> added
           
protected  mxGraphSelectionModel model
           
protected  Collection<Object> removed
           
 
Constructor Summary
mxGraphSelectionModel.mxSelectionChange(mxGraphSelectionModel model, Collection<Object> added, Collection<Object> removed)
           
 
Method Summary
 void execute()
          Undoes or redoes the change depending on its undo state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model

protected mxGraphSelectionModel model

added

protected Collection<Object> added

removed

protected Collection<Object> removed
Constructor Detail

mxGraphSelectionModel.mxSelectionChange

public mxGraphSelectionModel.mxSelectionChange(mxGraphSelectionModel model,
                                               Collection<Object> added,
                                               Collection<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 interface mxUndoableEdit.mxUndoableChange

mxGraph 2.3.0.2


Copyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.