|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.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 eventMethod Detail |
---|
public StackDockStation getStation()
DndAutoSelectStrategyRequest
getStation
in interface DndAutoSelectStrategyRequest
null
public Dockable getDockable()
DndAutoSelectStrategyRequest
Dockable
over whose tab the mouse currently hovers.
getDockable
in interface DndAutoSelectStrategyRequest
null
public DataFlavor[] getDataFlavors()
DndAutoSelectStrategyRequest
getDataFlavors
in interface DndAutoSelectStrategyRequest
public Transferable getTransferable()
DndAutoSelectStrategyRequest
Transferable
associated with this transfer.
getTransferable
in interface DndAutoSelectStrategyRequest
Transferable
associated with this transferpublic void toFront()
DndAutoSelectStrategyRequest
Dockable
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 |