JavaTM 2 Platform
Std. Ed. v1.3.1

com.apple.mrj.dnd
Class IncomingDrag

java.lang.Object
  |
  +--com.apple.mrj.dnd.Drag
        |
        +--com.apple.mrj.dnd.IncomingDrag

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

public final class IncomingDrag
extends Drag

The representation of an incoming drag-and-drop operation.


Method Summary
 int getItemRef(int index)
          Deprecated. Returns the "item reference number" of an item in a drag.
 void setDropAccepted(boolean a)
          Deprecated. Marks the drop as accepted or not accepted.
 
Methods inherited from class com.apple.mrj.dnd.Drag
allItemsContainFlavors, check, dispose, equals, equals, findItemFlavor, getDestination, getHasLeftSource, getInsideSenderWindow, getItem, getItemCount, getRef, getSource, hashCode, isDisposed, isDropAccepted, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getItemRef

public int getItemRef(int index)
Deprecated. 
Returns the "item reference number" of an item in a drag. This number is assigned by the originator of the drag and is probably not meaningful to the receiver -- it's provided here on the odd chance that a client who's also using the Drag Manager directly might need this value.

setDropAccepted

public void setDropAccepted(boolean a)
Deprecated. 
Marks the drop as accepted or not accepted. When handling a drop, you should set this to true if you accept the data, otherwise the sender thinks the drag was rejected.
See Also:
Drag.isDropAccepted()

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.