JavaTM 2 Platform
Standard Edition

Uses of Interface
java.awt.datatransfer.Transferable

Packages that use Transferable
java.awt.datatransfer Provides interfaces and classes for transferring data between and within applications. 
java.awt.dnd Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI. 
 

Uses of Transferable in java.awt.datatransfer
 

Classes in java.awt.datatransfer that implement Transferable
 class StringSelection
          A class which implements the capability required to transfer a simple java String in plain text format.
 

Fields in java.awt.datatransfer declared as Transferable
protected  Transferable Clipboard.contents
           
 

Methods in java.awt.datatransfer that return Transferable
 Transferable Clipboard.getContents(Object requestor)
          Returns a transferable object representing the current contents of the clipboard.
 

Methods in java.awt.datatransfer with parameters of type Transferable
 void StringSelection.lostOwnership(Clipboard clipboard, Transferable contents)
           
 void Clipboard.setContents(Transferable contents, ClipboardOwner owner)
          Sets the current contents of the clipboard to the specified transferable object and registers the specified clipboard owner as the owner of the new contents.
 void ClipboardOwner.lostOwnership(Clipboard clipboard, Transferable contents)
          Notifies this object that it is no longer the owner of the contents of the clipboard.
 

Uses of Transferable in java.awt.dnd
 

Classes in java.awt.dnd that implement Transferable
protected  class DropTargetContext.TransferableProxy
          The TransferableProxy is a nested helper class that supports the DropTargetContext in managing the transfer of data.
 

Fields in java.awt.dnd declared as Transferable
protected  Transferable DropTargetContext.TransferableProxy.transferable
          The "actual" Transferable that the Proxy is a Proxy for, usually supplied from the underlying system.
 

Methods in java.awt.dnd that return Transferable
 Transferable DropTargetDropEvent.getTransferable()
          This method returns the Transferable object associated with the drop.
 Transferable DragSourceContext.getTransferable()
          This method returns the Transferable associated with this DragSourceContext.
protected  Transferable DropTargetContext.getTransferable()
          get the Transferable (proxy) operand of this operation
protected  Transferable DropTargetContext.createTransferableProxy(Transferable t, boolean local)
          subclasses may override this to supply their own Proxy Transferable
 

Methods in java.awt.dnd with parameters of type Transferable
 void DragSource.startDrag(DragGestureEvent trigger, Cursor dragCursor, Image dragImage, Point imageOffset, Transferable transferable, DragSourceListener dsl, FlavorMap flavorMap)
          Start a drag, given the DragGestureEvent that initiated the drag, the initial Cursor to use, the Image to drag, the offset of the Image origin from the hotspot of the Cursor at the instant of the trigger, the Transferable subject data of the drag, the DragSourceListener, and the FlavorMap.
 void DragSource.startDrag(DragGestureEvent trigger, Cursor dragCursor, Transferable transferable, DragSourceListener dsl, FlavorMap flavorMap)
          Start a drag, given the DragGestureEvent that initiated the drag, the initial Cursor to use, the Transferable subject data of the drag, the DragSourceListener, and the FlavorMap.
 void DragSource.startDrag(DragGestureEvent trigger, Cursor dragCursor, Image dragImage, Point dragOffset, Transferable transferable, DragSourceListener dsl)
          Start a drag, given the DragGestureEvent that initiated the drag, the initial Cursor to use, the Image to drag, the offset of the Image origin from the hotspot of the Cursor at the instant of the trigger, the subject data of the drag, and the DragSourceListener.
 void DragSource.startDrag(DragGestureEvent trigger, Cursor dragCursor, Transferable transferable, DragSourceListener dsl)
          Start a drag, given the DragGestureEvent that initiated the drag, the initial Cursor to use, the Transferable subject data of the drag, and the DragSourceListener.
protected  DragSourceContext DragSource.createDragSourceContext(java.awt.dnd.peer.DragSourceContextPeer dscp, DragGestureEvent dgl, Cursor dragCursor, Image dragImage, Point imageOffset, Transferable t, DragSourceListener dsl)
          Create the DragSourceContext to handle this drag.
 void DragGestureEvent.startDrag(Cursor dragCursor, Transferable transferable, DragSourceListener dsl)
          Start the drag given the initial Cursor to display, the Transferable object, and the DragSourceListener to use.
 void DragGestureEvent.startDrag(Cursor dragCursor, Image dragImage, Point imageOffset, Transferable transferable, DragSourceListener dsl)
          Start the drag given the initial Cursor to display, a drag Image, the offset of the Image, the Transferable object, and the DragSourceListener to use.
protected  Transferable DropTargetContext.createTransferableProxy(Transferable t, boolean local)
          subclasses may override this to supply their own Proxy Transferable
 

Constructors in java.awt.dnd with parameters of type Transferable
DragSourceContext.DragSourceContext(java.awt.dnd.peer.DragSourceContextPeer dscp, DragGestureEvent trigger, Cursor dragCursor, Image dragImage, Point offset, Transferable t, DragSourceListener dsl)
          Called from DragSource, this constructor creates a new DragSourceContext given the DragSourceContextPeer for this Drag, the DragGestureEvent that triggered the Drag, the initial Cursor to use for the Drag, an (optional) Image to display while the Drag is taking place, the offset of the Image origin from the hotspot at the instant of the triggering event, the Transferable subject data, and the DragSourceListener to use during the Drag and Drop operation.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.