public interface DndAutoSelectStrategy
StackDockStation
to automatically change the selected
Dockable
if the mouse hovers over a tab during a drag and drop operation.StackDockStation.DND_AUTO_SELECT_STRATEGY
Modifier and Type | Field and Description |
---|---|
static DndAutoSelectStrategy |
DEFAULT
The default implementation just focuses the
Dockable under the mouse. |
static DndAutoSelectStrategy |
IGNORE
Does not perform any actions.
|
Modifier and Type | Method and Description |
---|---|
void |
handleRequest(DndAutoSelectStrategyRequest request)
Called whenever the framework detects a hovering mouse over a tab during a drag and drop operation.
Please do note: The same request may be sent multiple times in fast succession The framework does not generate any kind of event if the user releases the mouse |
static final DndAutoSelectStrategy DEFAULT
Dockable
under the mouse.static final DndAutoSelectStrategy IGNORE
void handleRequest(DndAutoSelectStrategyRequest request)
request
- information about the currently selected dockable