Package com.diffplug.common.swt.dnd
Class DropTargetRouter
java.lang.Object
com.diffplug.common.swt.dnd.DropTargetRouter
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBypassListener(DropTargetListener listener) Adds a listener which bypasses the routing mechanism.static DropTargetRouterforControl(Control ctl, Transfer[] transfers) Returns the MultipleDragSource for the given Control.voidremoveBypassListener(DropTargetListener listener) Adds a listener which bypasses the routing mechanism.subscribe(DropTargetListener listener, DropTargetEvent e) Sets the DropTargetListener which will get called for this DropTarget.
-
Method Details
-
subscribe
Sets the DropTargetListener which will get called for this DropTarget. -
addBypassListener
Adds a listener which bypasses the routing mechanism. -
removeBypassListener
Adds a listener which bypasses the routing mechanism. -
forControl
Returns the MultipleDragSource for the given Control.
-