| java.lang.Object org.apache.harmony.awt.datatransfer.windows.WinDropTarget
WinDropTarget | public class WinDropTarget implements DropTargetContextPeer,Runnable(Code) | | Handles OLE drop opreration on particular heavyweight component,
and dispatches DropTarget events. The drop operation runs on
DataTransferThread because DropTarget events are dispatched
synchronously. While handling the OLE callback the data transfer thread
is blocked until event dispatch thread handles the DropTargetEvent.
It is done due to synchronous nature of OLE IDropTarget callbacks.
|
Method Summary | |
public void | acceptDrag(int dragAction) | public void | acceptDrop(int dropAction) | public void | dispose() | public int | dragEnter(long dataObjectPtr, int x, int y, int userAction, int sourceActions) | public void | dragLeave() | public int | dragOver(int x, int y, int userAction, int sourceActions) | public int | drop(long dataObjectPtr, int x, int y, int userAction, int sourceActions) | public void | dropComplete(boolean success) | public DropTarget | getDropTarget() | public int | getTargetActions() | public DataFlavor[] | getTransferDataFlavors() | public Transferable | getTransferable() | public boolean | isTransferableJVMLocal() | public void | rejectDrag() | public void | rejectDrop() | public void | run() Dispatch DropTargetEvent on event dispatch thread. | public void | setTargetActions(int actions) |
acceptDrag | public void acceptDrag(int dragAction)(Code) | | |
acceptDrop | public void acceptDrop(int dropAction)(Code) | | |
dragEnter | public int dragEnter(long dataObjectPtr, int x, int y, int userAction, int sourceActions)(Code) | | Called from native method WinDropTarget::DragEnter()
bit mask of DROPEFFECT_* constants according to dropAction |
dragLeave | public void dragLeave()(Code) | | Called from native method WinDropTarget::DragLeave()
|
dragOver | public int dragOver(int x, int y, int userAction, int sourceActions)(Code) | | Called from native method WinDropTarget::DragOver()
bit mask of DROPEFFECT_* constants according to dropAction |
drop | public int drop(long dataObjectPtr, int x, int y, int userAction, int sourceActions)(Code) | | Called from native method WinDropTarget::Drop()
bit mask of DROPEFFECT_* constants according to dropAction |
dropComplete | public void dropComplete(boolean success)(Code) | | |
getTargetActions | public int getTargetActions()(Code) | | |
isTransferableJVMLocal | public boolean isTransferableJVMLocal()(Code) | | |
rejectDrag | public void rejectDrag()(Code) | | |
rejectDrop | public void rejectDrop()(Code) | | |
setTargetActions | public void setTargetActions(int actions)(Code) | | |
|
|