Interface BrowserNodeHandlerBuilder.DropHandler<N>
- Type Parameters:
N
- type of nodes.
- Enclosing interface:
- BrowserNodeHandlerBuilder<N>
public static interface BrowserNodeHandlerBuilder.DropHandler<N>
A drop handler receiving information on drop events.
- Since:
- 4.2.426
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onDrop
(@NotNull CommodityContainer commodities, N node) Method will be called on dropping relatedTransferType
's over specified node.
-
Method Details
-
onDrop
Method will be called on dropping relatedTransferType
's over specified node. The transferable data can be received from specifiedCommodityContainer
.- Parameters:
commodities
- A map containing transfer type-mapped commodities.node
- drop event target- Throws:
TransferException
- If the transfer failed for any reason.- Since:
- 4.2.426
-