de.espirit.firstspirit.client.gui.applications
Interface BrowserNodeHandlerBuilder.DragContext

Enclosing interface:
BrowserNodeHandlerBuilder<N>

public static interface BrowserNodeHandlerBuilder.DragContext

Interface providing access to drag context.

Since:
4.2.426

Method Summary
<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.
 

Method Detail

setDragImage

void setDragImage(Image image)
Sets image to use while dragging related nodes.

Parameters:
image - to drag image
Since:
4.2.426

addTransferItem

<T> void addTransferItem(@NotNull
                         TransferType<T> type,
                         @NotNull
                         T item)
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
                          TransferType<T> type,
                          @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


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480