Whole document tree
Appendix C : DropTargetContextPeer definitionAlthough not a normative part of this specification this definition is included for clarity: public interface DropTargetContextPeer { int getTargetActions(); void setTargetActions(int actions); DropTarget getDropTarget(); DataFlavor[] getTransferDataFlavors(); Transferable getTransferable() throws InvalidDnDOperationException; boolean isTransferableJVMLocal(); void acceptDrag(int dragAction); void rejectDrag(); void acceptDrop(int dropAction); void rejectDrop(); void dropComplete(boolean success); } CONTENTS | PREV | NEXT Copyright © 1997, 1998 Sun Microsystems, Inc. All Rights Reserved. |