public interface HandlerHost
The host provides special treatments to different kind of targets:
TransferValidating
.TransferHandling
Modifier and Type | Interface and Description |
---|---|
static interface |
HandlerHost.Handler
A transfer handler.
|
Modifier and Type | Method and Description |
---|---|
void |
registerGadgetHandler(HandlerHost.Handler handler,
Collection<TransferType<?>> types)
Registers a handler to the gadget as drop target receiving all transfer type-mapped commodities.
|
void |
registerHandler(Component dropTarget,
HandlerHost.Handler handler,
Collection<TransferType<?>> types)
Registers a handler receiving all transfer type-mapped commodities.
|
void |
registerHandler(Component dropTarget,
HandlerHost.Handler handler,
TransferType<?>... types)
Registers a handler receiving all transfer type-mapped commodities.
|
void registerHandler(@NotNull Component dropTarget, @NotNull HandlerHost.Handler handler, @NotNull TransferType<?>... types)
dropTarget
- The component to register as drop target.handler
- The handler to be registered.types
- The transfer types to be handled by the given handler.void registerHandler(@NotNull Component dropTarget, @NotNull HandlerHost.Handler handler, @NotNull Collection<TransferType<?>> types)
dropTarget
- The component to register as drop target.handler
- The handler to be registered.types
- The transfer types to be handled by the given handler.void registerGadgetHandler(@NotNull HandlerHost.Handler handler, @NotNull Collection<TransferType<?>> types)
handler
- The handler to be registered.types
- The transfer types to be handled by the given handler.Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500