All Implemented Interfaces:
The standard RubberBandSelection strategy that simply selects all figures
within the rubber band rectangle.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void selectGroup(
Add figures in 'model' to the model's internal selection. The figures that
are added to the selection is controlled by the 'rubberBandRectangle' (the
rubber band the user has dragged in the view) and the toggle.
PostCondition: model's selection is updated with the figures within the
rubber rectangle (or what ever the strategy decides).
model - the drawing where figures should be selected in
rubberBandRectangle - the rectangle selected
toggle - if true then figures are not added but "toggled" in and out of the
From the book: Flexible, Reliable Software, © CRC Press 2010. Author: Henrik B. Christensen, Aarhus University, Denmark