/*
* @(#)DragGestureListener.java 1.11 03/12/19
*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package java.awt.dnd;
import java.util.EventListener;
/**
* This interface is sourced from a DragGestureRecognizer
* and is invoked
* when an object of that (sub)class detects a drag initiating
* gesture.
*
* The implementor of this interface is responsible for starting the drag
* as a result of receiving such notification.
*
* @see java.awt.dnd.DragGestureRecognizer
* @see java.awt.dnd.DragGestureEvent
* @see java.awt.dnd.DragSource
*/
public interface DragGestureListener extends EventListener {
/**
* A DragGestureRecognizer
has detected
* a platform-dependent drag initiating gesture and
* is notifying this listener
* in order for it to initiate the action for the user.
*
* @param dge the DragGestureEvent
describing
* the gesture that has just occurred
*/
void dragGestureRecognized(DragGestureEvent dge);
}