|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface BrowserNodeHandlerBuilder.DragContext
Interface providing access to drag context.
Method Summary | ||
---|---|---|
|
addTransferItem(TransferType<T> type,
T item)
Adds a transferable object for a given type to this context. |
|
|
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. |
Method Detail |
---|
void setDragImage(Image image)
image
- to drag image<T> void addTransferItem(@NotNull TransferType<T> type, @NotNull T item)
T
- The technical type of the items.type
- The type of transfer.item
- The item to be transferred.<T> void addTransferItems(@NotNull TransferType<T> type, @NotNull Collection<T> items)
T
- The technical type of the items.type
- The type of transfer.items
- The items to be transferred.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |