Uses of Class
org.eclipse.swt.dnd.Transfer

Packages that use Transfer
Package
Description
SWT Drag and Drop support.
  • Uses of Transfer in org.eclipse.swt.dnd

    Subclasses of Transfer in org.eclipse.swt.dnd
    Modifier and Type
    Class
    Description
    class 
    The class ByteArrayTransfer provides a platform specific mechanism for converting a java byte[] to a platform specific representation of the byte array and vice versa.
    class 
    The class FileTransfer provides a platform specific mechanism for converting a list of files represented as a java String[] to a platform specific representation of the data and vice versa.
    class 
    The class HTMLTransfer provides a platform specific mechanism for converting text in HTML format represented as a java String to a platform specific representation of the data and vice versa.
    class 
    The class ImageTransfer provides a platform specific mechanism for converting an Image represented as a java ImageData to a platform specific representation of the data and vice versa.
    class 
    The class RTFTransfer provides a platform specific mechanism for converting text in RTF format represented as a java String to a platform specific representation of the data and vice versa.
    class 
    The class TextTransfer provides a platform specific mechanism for converting plain text represented as a java String to a platform specific representation of the data and vice versa.
    class 
    The class URLTransfer provides a platform specific mechanism for converting text in URL format represented as a java String to a platform specific representation of the data and vice versa.
    Fields in org.eclipse.swt.dnd declared as Transfer
    Modifier and Type
    Field
    Description
    (package private) Transfer[]
    ClipboardProxy.clipboardDataTypes
     
    (package private) Transfer[]
     
    (package private) Transfer[]
    DragSource.transferAgents
     
    (package private) Transfer[]
    DropTarget.transferAgents
     
    Fields in org.eclipse.swt.dnd with type parameters of type Transfer
    Modifier and Type
    Field
    Description
    ContentProviders.registeredTransfers
    All transfers registered with the GTK serializers Key is the transfer obtained with ContentProviders.transferKey(Transfer)
    Methods in org.eclipse.swt.dnd that return Transfer
    Modifier and Type
    Method
    Description
    private Transfer
    ContentProviders.getTransfer(long gtype)
    Return the transfer associated with the given gtype Return null on error (unknown gtype)
    DragSource.getTransfer()
    Returns the list of data types that can be transferred by this DragSource.
    DropTarget.getTransfer()
    Returns a list of the data types that can be transferred to this DropTarget.
    Methods in org.eclipse.swt.dnd with parameters of type Transfer
    Modifier and Type
    Method
    Description
    private Object
    ContentProviders.clone(Transfer transfer, Object object)
    When calling gdk_clipboard_read_value_async and related functions, if the clipboard is owned locally it returns the instance that was placed on the clipboard and avoid the serialization and deserialization.
    long
    ContentProviders.createContentProviders(Object[] data, Transfer[] transfers, ContentProviders.CLIPBOARD_DATA id)
    Create a set of content providers (GdkContentProviders) for the given SWT Transfer Types and data, assigned to the given clipboard.
    Clipboard.getContents(Transfer transfer)
    Retrieve the data of the specified type currently available on the system clipboard.
    Clipboard.getContents(Transfer transfer, int clipboards)
    Retrieve the data of the specified type currently available on the specified clipboard.
    Clipboard.getContentsAsync(Transfer transfer)
    Retrieve the data of the specified type currently available on the system clipboard.
    Clipboard.getContentsAsync(Transfer transfer, int clipboards)
    Retrieve the data of the specified type currently available on the specified clipboard.
    ClipboardProxyGTK4.getData(Clipboard owner, Transfer transfer, int clipboards)
     
    long
    ContentProviders.getGType(Transfer transfer)
    Get the GType for the given transfer, and ContentProviders.registerTransfer(Transfer) if needed The gtype can then be used to request data from GTK with methods such as gdk_clipboard_read_value_async
    private Object
    Clipboard.gtk3_getContents(Transfer transfer, int clipboards)
     
    Clipboard.gtk4_getContentsAsync(Transfer transfer, int clipboards)
     
    private void
    ContentProviders.registerTransfer(Transfer transfer)
    Register the transfer in the GTK land if not registered already.
    void
    Clipboard.setContents(Object[] data, Transfer[] dataTypes)
    Place data of the specified type on the system clipboard.
    void
    Clipboard.setContents(Object[] data, Transfer[] dataTypes, int clipboards)
    Place data of the specified type on the specified clipboard.
    (package private) boolean
    ClipboardProxy.setData(Clipboard owner, Object[] data, Transfer[] dataTypes, int clipboards)
     
    (package private) boolean
    ClipboardProxyGTK4.setData(Clipboard owner, Object[] data, Transfer[] dataTypes, int clipboards)
     
    void
    DragSource.setTransfer(Transfer... transferAgents)
    Specifies the list of data types that can be transferred by this DragSource.
    void
    DropTarget.setTransfer(Transfer... transferAgents)
    Specifies the data types that can be transferred to this DropTarget.
    private String
    ContentProviders.transferKey(Transfer transfer)
    Create a string key for the transfer that can be used as a key for Map and as a GType