public interface SelectProvider
Modifier and Type | Method and Description |
---|---|
boolean |
isAimingAllowed(Widget widget,
Point localLocation,
boolean invertSelection)
Called to check whether aiming is allowed
|
boolean |
isSelectionAllowed(Widget widget,
Point localLocation,
boolean invertSelection)
Called to check whether the selection is allowed.
|
void |
select(Widget widget,
Point localLocation,
boolean invertSelection)
Called to perform the selection.
|
boolean isAimingAllowed(Widget widget, Point localLocation, boolean invertSelection)
widget
- the aimed widgetlocalLocation
- the local location of a mouse cursor while aiming is invoked by an userinvertSelection
- if true, then the invert selection is invoked by an user.boolean isSelectionAllowed(Widget widget, Point localLocation, boolean invertSelection)
widget
- the selected widgetlocalLocation
- the local location of a mouse cursor while selection is invoked by an userinvertSelection
- if true, then the invert selection is invoked by an user.void select(Widget widget, Point localLocation, boolean invertSelection)
widget
- the selected widgetlocalLocation
- the local location of a mouse cursor while selection is invoked by an userinvertSelection
- if true, then the invert selection is invoked by an user.