|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.apple.mrj.dnd.Drag | +--com.apple.mrj.dnd.IncomingDrag
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 |
public int getItemRef(int index)
public void setDropAccepted(boolean a)
true
if you
accept the data, otherwise the sender thinks the drag was rejected.Drag.isDropAccepted()
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.