Interface BrowserNodeHandlerBuilder.DragContext
- Enclosing interface:
- BrowserNodeHandlerBuilder<N>
public static interface BrowserNodeHandlerBuilder.DragContext
Interface providing access to drag context.
- Since:
- 4.2.426
-
Method Summary
Modifier and TypeMethodDescription<T> voidaddTransferItem(@NotNull TransferType<T> type, T item) Adds a transferable object for a given type to this context.<T> voidaddTransferItems(@NotNull TransferType<T> type, @NotNull Collection<T> items) Adds a collection of transferable objects for a given type to this context.voidsetDragImage(Image image) Sets image to use while dragging related nodes.
-
Method Details
-
setDragImage
Sets image to use while dragging related nodes.- Parameters:
image- to drag image- Since:
- 4.2.426
-
addTransferItem
Adds a transferable object for a given type to this context.- Type Parameters:
T- The technical type of the items.- Parameters:
type- The type of transfer.item- The item to be transferred.- Since:
- 4.2.426
-
addTransferItems
<T> void addTransferItems(@NotNull @NotNull TransferType<T> type, @NotNull @NotNull Collection<T> items) Adds a collection of transferable objects for a given type to this context.- Type Parameters:
T- The technical type of the items.- Parameters:
type- The type of transfer.items- The items to be transferred.- Since:
- 4.2.426
-