public static interface BrowserNodeHandlerBuilder.DragContext
Modifier and Type | Method and Description |
---|---|
<T> void |
addTransferItem(TransferType<T> type,
T item)
Adds a transferable object for a given type to this context.
|
<T> void |
addTransferItems(TransferType<T> type,
Collection<T> items)
Adds a collection of transferable objects for a given type to this context.
|
void |
setDragImage(Image image)
Sets image to use while dragging related nodes.
|
void setDragImage(Image image)
image
- to drag image<T> void addTransferItem(@NotNull TransferType<T> type, @NotNull T item)
type
- The type of transfer.item
- The item to be transferred.<T> void addTransferItems(@NotNull TransferType<T> type, @NotNull Collection<T> items)
type
- The type of transfer.items
- The items to be transferred.Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500