@JsType(namespace="xgl")
public interface DropTarget<T,E,D>
| Modifier and Type | Method and Description | 
|---|---|
void | 
accept(DragSource<?,D> dragSource,
      E target,
      D dragged)  | 
void | 
attach(T targetWidget)  | 
boolean | 
canAccept(DragSource<?,D> dragSource,
         E target,
         D dragged)  | 
boolean | 
canCast(Object object)  | 
void | 
detach()  | 
E | 
getTarget(Element<?> target)  | 
T | 
getTargetWidget()  | 
void attach(T targetWidget)
targetWidget - void detach()
T getTargetWidget()
boolean canCast(Object object)
object - boolean canAccept(DragSource<?,D> dragSource, E target, D dragged)
dragSource - target - dragged - void accept(DragSource<?,D> dragSource, E target, D dragged)
dragSource - target - dragged - Copyright © 2018 Xalys. All rights reserved.