com.javadocking.drag
Interface DragListener

All Superinterfaces:
java.util.EventListener, javax.swing.event.MouseInputListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener
All Known Implementing Classes:
DefaultDragListener

public interface DragListener
extends java.awt.event.MouseListener, javax.swing.event.MouseInputListener

This is an interface for classes that can drag a Dockable from one Dock to another dock. It should be added to a java.awt.Component as mouse listener and mouse motion listener.

Information on using a drag listener in dockables is in How to Use Dockables in The Sanaware Developer Guide.

Typically, classes that implement this interface only listen to mouse events and decide what should be done:

They delegate the implementation of those actions to a Dragger.

Author:
Heidi Rakels.

Method Summary
 
Methods inherited from interface java.awt.event.MouseListener
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
 
Methods inherited from interface java.awt.event.MouseMotionListener
mouseDragged, mouseMoved