| |||||
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(int dragAction) accept the Drag |
void |
acceptDrop(int dropAction) accept the Drop |
void |
dropComplete(boolean success) signal complete |
DropTarget |
get the DropTarget associated with this peer |
int |
get the current Target actions |
Transferable |
get an input stream to the remote data |
DataFlavor[] |
get the (remote) DataFlavors from the peer |
boolean |
|
void |
reject the Drag |
void |
reject the Drop |
void |
setTargetActions(int actions) update the peer's notion of the Target's actions |
Method Detail |
---|
public void acceptDrag(int dragAction)
dragAction
public void acceptDrop(int dropAction)
dropAction
public void dropComplete(boolean success)
success
public DropTarget getDropTarget()
public int getTargetActions()
public Transferable getTransferable() throws InvalidDnDOperationException
InvalidDnDOperationException
public DataFlavor[] getTransferDataFlavors()
public boolean isTransferableJVMLocal()
public void rejectDrag()
public void rejectDrop()
public void setTargetActions(int actions)
actions
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |