public class DropTargetRouter extends Object
Modifier and Type | Class and Description |
---|---|
class |
DropTargetRouter.Disposable |
Modifier and Type | Method and Description |
---|---|
void |
addBypassListener(DropTargetListener listener)
Adds a listener which bypasses the routing mechanism.
|
static DropTargetRouter |
forControl(Control ctl,
Transfer[] transfers)
Returns the MultipleDragSource for the given Control.
|
void |
removeBypassListener(DropTargetListener listener)
Adds a listener which bypasses the routing mechanism.
|
DropTargetRouter.Disposable |
subscribe(DropTargetListener listener,
DropTargetEvent e)
Sets the DropTargetListener which will get called for this DropTarget.
|
public DropTargetRouter.Disposable subscribe(DropTargetListener listener, DropTargetEvent e)
public void addBypassListener(DropTargetListener listener)
public void removeBypassListener(DropTargetListener listener)
public static DropTargetRouter forControl(Control ctl, Transfer[] transfers)