Uses of Class
org.eclipse.swt.dnd.Transfer
Packages that use Transfer
-
Uses of Transfer in org.eclipse.swt.dnd
Subclasses of Transfer in org.eclipse.swt.dndModifier and TypeClassDescriptionclassThe classByteArrayTransferprovides a platform specific mechanism for converting a javabyte[]to a platform specific representation of the byte array and vice versa.classThe classFileTransferprovides a platform specific mechanism for converting a list of files represented as a javaString[]to a platform specific representation of the data and vice versa.classThe classHTMLTransferprovides a platform specific mechanism for converting text in HTML format represented as a javaStringto a platform specific representation of the data and vice versa.classThe classImageTransferprovides a platform specific mechanism for converting an Image represented as a javaImageDatato a platform specific representation of the data and vice versa.classThe classRTFTransferprovides a platform specific mechanism for converting text in RTF format represented as a javaStringto a platform specific representation of the data and vice versa.classThe classTextTransferprovides a platform specific mechanism for converting plain text represented as a javaStringto a platform specific representation of the data and vice versa.classThe classURLTransferprovides a platform specific mechanism for converting text in URL format represented as a javaStringto a platform specific representation of the data and vice versa.Fields in org.eclipse.swt.dnd declared as TransferModifier and TypeFieldDescription(package private) Transfer[]ClipboardProxy.clipboardDataTypes(package private) Transfer[]ClipboardProxy.primaryClipboardDataTypes(package private) Transfer[]DragSource.transferAgents(package private) Transfer[]DropTarget.transferAgentsFields in org.eclipse.swt.dnd with type parameters of type TransferModifier and TypeFieldDescriptionContentProviders.registeredTransfersAll transfers registered with the GTK serializers Key is the transfer obtained withContentProviders.transferKey(Transfer)Methods in org.eclipse.swt.dnd that return TransferModifier and TypeMethodDescriptionprivate TransferContentProviders.getTransfer(long gtype) Return the transfer associated with the given gtype Return null on error (unknown gtype)Transfer[]DragSource.getTransfer()Returns the list of data types that can be transferred by this DragSource.Transfer[]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 TransferModifier and TypeMethodDescriptionprivate ObjectWhen 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.longContentProviders.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.longGet the GType for the given transfer, andContentProviders.registerTransfer(Transfer)if needed The gtype can then be used to request data from GTK with methods such as gdk_clipboard_read_value_asyncprivate ObjectClipboard.gtk3_getContents(Transfer transfer, int clipboards) private CompletableFuture<Object> Clipboard.gtk4_getContentsAsync(Transfer transfer, int clipboards) private voidContentProviders.registerTransfer(Transfer transfer) Register the transfer in the GTK land if not registered already.voidClipboard.setContents(Object[] data, Transfer[] dataTypes) Place data of the specified type on the system clipboard.voidClipboard.setContents(Object[] data, Transfer[] dataTypes, int clipboards) Place data of the specified type on the specified clipboard.(package private) boolean(package private) booleanvoidDragSource.setTransfer(Transfer... transferAgents) Specifies the list of data types that can be transferred by this DragSource.voidDropTarget.setTransfer(Transfer... transferAgents) Specifies the data types that can be transferred to this DropTarget.private StringContentProviders.transferKey(Transfer transfer) Create a string key for the transfer that can be used as a key for Map and as a GType