The DragHandler Interface of the com.ms.object.dragdrop package defines methods that handle drag operations relative to other objects.
public interface DragHandler { // Methods public void dragEnter(DragSession session); public void dragLeave(); public int dragOver(DragSession session, int x, int y); public void drop(DragSession session, int x, int y); }
A recipient would implement this interface to receive drops from a drag source. There are methods in this interface that notify the recipient when the object has entered, left, moved, or might have been dropped by the user.
To view an example that implements a DragHandler, see the com.ms.object.dragdrop overview.