1. /*
  2. * @(#)MenuDragMouseListener.java 1.11 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package javax.swing.event;
  8. import java.util.EventListener;
  9. /**
  10. * Defines a menu mouse-drag listener.
  11. *
  12. * @version 1.11 12/19/03
  13. * @author Georges Saab
  14. */
  15. public interface MenuDragMouseListener extends EventListener {
  16. /**
  17. * Invoked when the dragged mouse has entered a menu component's
  18. * display area.
  19. *
  20. * @param e a MenuDragMouseEvent object
  21. */
  22. void menuDragMouseEntered(MenuDragMouseEvent e);
  23. /**
  24. * Invoked when the dragged mouse has left a menu component's
  25. * display area.
  26. *
  27. * @param e a MenuDragMouseEvent object
  28. */
  29. void menuDragMouseExited(MenuDragMouseEvent e);
  30. /**
  31. * Invoked when the mouse is being dragged in a menu component's
  32. * display area.
  33. *
  34. * @param e a MenuDragMouseEvent object
  35. */
  36. void menuDragMouseDragged(MenuDragMouseEvent e);
  37. /**
  38. * Invoked when a dragged mouse is release in a menu component's
  39. * display area.
  40. *
  41. * @param e a MenuDragMouseEvent object
  42. */
  43. void menuDragMouseReleased(MenuDragMouseEvent e);
  44. }