|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DropTargetContextPeer
This interface is exposed by the underlying window system platform to enable control of platform DnD operations
| Method Summary | |
|---|---|
void |
acceptDrag
accept the Drag |
void |
acceptDrop
accept the Drop |
void |
dropComplete
signal complete |
DropTarget |
getDropTarget
get the DropTarget associated with this peer |
int |
getTargetActions
get the current Target actions |
Transferable |
getTransferable
get an input stream to the remote data |
DataFlavor |
getTransferDataFlavors
get the (remote) DataFlavors from the peer |
boolean |
isTransferableJVMLocal
|
void |
rejectDrag
reject the Drag |
void |
rejectDrop
reject the Drop |
void |
setTargetActions
update the peer's notion of the Target's actions |
| Method Detail |
|---|

void setTargetActions(int actions)

int getTargetActions()

DropTarget![]()
![]()
getDropTarget()

DataFlavor![]()
![]()
[] getTransferDataFlavors()

Transferable![]()
![]()
getTransferable() throws InvalidDnDOperationException
![]()
![]()
InvalidDnDOperationException


boolean isTransferableJVMLocal()

void acceptDrag(int dragAction)

void rejectDrag()

void acceptDrop(int dropAction)

void rejectDrop()

void dropComplete(boolean success)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||