public class DefaultDndAutoSelectStrategyRequest extends Object implements DndAutoSelectStrategyRequest
DndAutoSelectStrategy, it is based on TransferHandler.TransferSupport.| Constructor and Description |
|---|
DefaultDndAutoSelectStrategyRequest(StackDockStation station,
Dockable dockable,
TransferHandler.TransferSupport transferSupport)
Creates a new request object.
|
| Modifier and Type | Method and Description |
|---|---|
DataFlavor[] |
getDataFlavors() |
Dockable |
getDockable() |
StackDockStation |
getStation() |
Transferable |
getTransferable() |
void |
toFront() |
public DefaultDndAutoSelectStrategyRequest(StackDockStation station, Dockable dockable, TransferHandler.TransferSupport transferSupport)
station - the source of the eventdockable - the dockable beneath the mousetransferSupport - additional information about the eventpublic StackDockStation getStation()
getStation in interface DndAutoSelectStrategyRequestpublic Dockable getDockable()
getDockable in interface DndAutoSelectStrategyRequestpublic DataFlavor[] getDataFlavors()
getDataFlavors in interface DndAutoSelectStrategyRequestpublic Transferable getTransferable()
getTransferable in interface DndAutoSelectStrategyRequestpublic void toFront()
toFront in interface DndAutoSelectStrategyRequestCopyright © 2019. All rights reserved.