|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.station.stack.DefaultDndAutoSelectStrategyRequest
public class DefaultDndAutoSelectStrategyRequest
Default implementation of a DndAutoSelectStrategy, it is based on TransferHandler.TransferSupport.
| Constructor Summary | |
|---|---|
DefaultDndAutoSelectStrategyRequest(StackDockStation station,
Dockable dockable,
TransferHandler.TransferSupport transferSupport)
Creates a new request object. |
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultDndAutoSelectStrategyRequest(StackDockStation station,
Dockable dockable,
TransferHandler.TransferSupport transferSupport)
station - the source of the eventdockable - the dockable beneath the mousetransferSupport - additional information about the event| Method Detail |
|---|
public StackDockStation getStation()
DndAutoSelectStrategyRequest
getStation in interface DndAutoSelectStrategyRequestnullpublic Dockable getDockable()
DndAutoSelectStrategyRequestDockable over whose tab the mouse currently hovers.
getDockable in interface DndAutoSelectStrategyRequestnullpublic DataFlavor[] getDataFlavors()
DndAutoSelectStrategyRequest
getDataFlavors in interface DndAutoSelectStrategyRequestpublic Transferable getTransferable()
DndAutoSelectStrategyRequestTransferable associated with this transfer.
getTransferable in interface DndAutoSelectStrategyRequestTransferable associated with this transferpublic void toFront()
DndAutoSelectStrategyRequestDockable beneath the mouse, moves it to the front and tries to focus it.
toFront in interface DndAutoSelectStrategyRequest
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||