1. /*
  2. * @(#)DragGestureListener.java 1.8 00/02/02
  3. *
  4. * Copyright 1998-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package java.awt.dnd;
  11. import java.util.EventListener;
  12. /**
  13. * This interface is sourced from a <code>DragGestureRecognizer</code>
  14. * and is invoked
  15. * when an object of that (sub)class detects a drag initiating
  16. * gesture.
  17. * <p>
  18. * The implementor of this interface is responsible for starting the drag
  19. * as a result of receiving such notification.
  20. *
  21. * @see java.awt.dnd.DragGestureRecognizer
  22. * @see java.awt.dnd.DragGestureEvent
  23. * @see java.awt.dnd.DragSource
  24. */
  25. public interface DragGestureListener extends EventListener {
  26. /**
  27. * A <code>DragGestureRecognizer</code> has detected
  28. * a platform-dependent drag initiating gesture and
  29. * is notifying this listener
  30. * in order for it to initiate the action for the user.
  31. * <P>
  32. * @param dge the <code>DragGestureEvent</code> describing
  33. * the gesture that has just occurred
  34. */
  35. void dragGestureRecognized(DragGestureEvent dge);
  36. }