bibliothek.gui.dock.station.stack
Interface DndAutoSelectStrategyRequest

All Known Implementing Classes:
DefaultDndAutoSelectStrategyRequest

public interface DndAutoSelectStrategyRequest

Request forwarded to a DndAutoSelectStrategy if a potential drop event was detected.

Author:
Benjamin Sigg

Method Summary
 DataFlavor[] getDataFlavors()
          Returns the data flavors for this transfer.
 Dockable getDockable()
          Gets the Dockable over whose tab the mouse currently hovers.
 StackDockStation getStation()
          Gets the station which detected the event.
 Transferable getTransferable()
          Returns the Transferable associated with this transfer.
 void toFront()
          Selects the Dockable beneath the mouse, moves it to the front and tries to focus it.
 

Method Detail

getStation

StackDockStation getStation()
Gets the station which detected the event.

Returns:
the source of the event, never null

getDockable

Dockable getDockable()
Gets the Dockable over whose tab the mouse currently hovers.

Returns:
the tab beneath the mouse, never null

getDataFlavors

DataFlavor[] getDataFlavors()
Returns the data flavors for this transfer.

Returns:
the data flavors for this transfer

getTransferable

Transferable getTransferable()
Returns the Transferable associated with this transfer.

Returns:
the Transferable associated with this transfer

toFront

void toFront()
Selects the Dockable beneath the mouse, moves it to the front and tries to focus it.