|virtual void||findLassoItemsInArea (Array< SelectableItemType > &itemsFound, const Rectangle< int > &area)=0|
|Returns the set of items that lie within a given lassoable region. More...|
|virtual SelectedItemSet< SelectableItemType > &||getLassoSelection ()=0|
|Returns the SelectedItemSet that the lasso should update. More...|
class LassoSource< SelectableItemType >
A class used by the LassoComponent to manage the things that it selects.
This allows the LassoComponent to find out which items are within the lasso, and to change the list of selected items.
Constructor & Destructor Documentation
Member Function Documentation
Returns the set of items that lie within a given lassoable region.
Your implementation of this method must find all the relevant items that lie within the given rectangle. and add them to the itemsFound array.
The coordinates are relative to the top-left of the lasso component's parent component. (i.e. they are the same as the size and position of the lasso component itself).
Referenced by LassoSource< SelectableItemType >::~LassoSource().
Returns the SelectedItemSet that the lasso should update.
This set will be continuously updated by the LassoComponent as it gets dragged around, so make sure that you've got a ChangeListener attached to the set so that your UI objects will know when the selection changes and be able to update themselves appropriately.
The documentation for this class was generated from the following file:
Generated on Fri Jan 12 2018 09:51:20 for JUCE by 1.8.13