API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt.dnd.peer. DropTargetContextPeer View Source
Author(s)
Since
1.2
Version
1.14, 11/17/05
Serial
Hierarchy
 DropTargetContextPeer
Subinterfaces
Description
public interface DropTargetContextPeer
  This interface is exposed by the underlying window system platform to enable control of platform DnD operations
See also:   
Methods
Hide/Show inherited methods
public void acceptDrag (int dragAction)
accept the Drag
public void acceptDrop (int dropAction)
accept the Drop
public void dropComplete (boolean success)
signal complete
public DropTarget getDropTarget ()
get the DropTarget associated with this peer
public int getTargetActions ()
get the current Target actions
public Transferable getTransferable () throws InvalidDnDOperationException
get an input stream to the remote data
public DataFlavor getTransferDataFlavors ()
get the (remote) DataFlavors from the peer
public boolean isTransferableJVMLocal ()
 
public void rejectDrag ()
reject the Drag
public void rejectDrop ()
reject the Drop
public void setTargetActions (int actions)
update the peer's notion of the Target's actions
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar