bibliothek.gui.dock.station.stack
Interface DndAutoSelectStrategy


public interface DndAutoSelectStrategy

This strategy is used by a StackDockStation to automatically change the selected Dockable if the mouse hovers over a tab during a drag and drop operation.

Author:
Benjamin Sigg
See Also:
StackDockStation.DND_AUTO_SELECT_STRATEGY

Field Summary
static DndAutoSelectStrategy DEFAULT
          The default implementation just focuses the Dockable under the mouse.
static DndAutoSelectStrategy IGNORE
          Does not perform any actions.
 
Method Summary
 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
 

Field Detail

DEFAULT

static final DndAutoSelectStrategy DEFAULT
The default implementation just focuses the Dockable under the mouse.


IGNORE

static final DndAutoSelectStrategy IGNORE
Does not perform any actions.

Method Detail

handleRequest

void handleRequest(DndAutoSelectStrategyRequest request)
Called whenever the framework detects a hovering mouse over a tab during a drag and drop operation.
Please do note:

Parameters:
request - information about the currently selected dockable