JavaTM 2 Platform
Std. Ed. v1.3.1

com.apple.mrj.dnd
Interface DragListener

All Superinterfaces:
EventListener, MouseListener
All Known Implementing Classes:
DragAdapter

Deprecated. As of MacOSX 10.2, replaced by Java2 DnD.

public interface DragListener
extends MouseListener

A listener for incoming drag/drop operations. There's obviously no addDragListener method on Component, so use addMouseListener and removeMouseListener instead.


Method Summary
 boolean dragDropped(DragEvent e)
          Deprecated. Sent if the drag ends within the DragReceiver's visible area.
 boolean dragEntered(DragEvent e)
          Deprecated. Sent when the drag enters the DragReceiver's visible area.
 boolean dragExited(DragEvent e)
          Deprecated. Sent when the drag exits the DragReceiver's visible area.
 boolean dragMoved(DragEvent e)
          Deprecated. Sent whenever the drag moves within the DragReceiver's visible area.
 
Methods inherited from interface java.awt.event.MouseListener
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
 

Method Detail

dragEntered

public boolean dragEntered(DragEvent e)
Deprecated. 
Sent when the drag enters the DragReceiver's visible area.

dragMoved

public boolean dragMoved(DragEvent e)
Deprecated. 
Sent whenever the drag moves within the DragReceiver's visible area.

dragExited

public boolean dragExited(DragEvent e)
Deprecated. 
Sent when the drag exits the DragReceiver's visible area.

dragDropped

public boolean dragDropped(DragEvent e)
Deprecated. 
Sent if the drag ends within the DragReceiver's visible area.

JavaTM 2 Platform
Std. Ed. v1.3.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.