Package | Description |
---|---|
org.eclipse.rap.rwt.dnd | |
org.eclipse.swt.dnd |
Modifier and Type | Method and Description |
---|---|
TransferData[] |
ClientFileTransfer.getSupportedTypes() |
Modifier and Type | Method and Description |
---|---|
boolean |
ClientFileTransfer.isSupportedType(TransferData transferData) |
void |
ClientFileTransfer.javaToNative(java.lang.Object object,
TransferData transferData) |
java.lang.Object |
ClientFileTransfer.nativeToJava(TransferData transferData) |
Modifier and Type | Field and Description |
---|---|
TransferData |
DropTargetEvent.currentDataType
The type of data that will be dropped.
|
TransferData |
DragSourceEvent.dataType
The type of data requested.
|
TransferData[] |
DropTargetEvent.dataTypes
A list of the types of data that the DragSource is capable of providing.
|
Modifier and Type | Method and Description |
---|---|
TransferData[] |
ByteArrayTransfer.getSupportedTypes() |
abstract TransferData[] |
Transfer.getSupportedTypes()
Returns a list of the platform specific data types that can be converted
using this transfer agent.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ByteArrayTransfer.isSupportedType(TransferData transferData) |
abstract boolean |
Transfer.isSupportedType(TransferData transferData)
Returns true if the
TransferData data type can be converted
using this transfer agent, or false otherwise (including if transferData is
null ). |
void |
ByteArrayTransfer.javaToNative(java.lang.Object object,
TransferData transferData)
This implementation of
javaToNative converts a java
byte[] to a platform specific representation. |
void |
FileTransfer.javaToNative(java.lang.Object object,
TransferData transferData)
This implementation of
javaToNative converts a list of file
names represented by a java String[] to a platform specific
representation. |
void |
HTMLTransfer.javaToNative(java.lang.Object object,
TransferData transferData)
This implementation of
javaToNative converts HTML-formatted
text represented by a java String to a platform specific
representation. |
void |
ImageTransfer.javaToNative(java.lang.Object object,
TransferData transferData)
This implementation of
javaToNative converts an ImageData
object represented by java ImageData to a platform specific
representation. |
void |
RTFTransfer.javaToNative(java.lang.Object object,
TransferData transferData)
This implementation of
javaToNative converts RTF-formatted
text represented by a java String to a platform specific
representation. |
void |
TextTransfer.javaToNative(java.lang.Object object,
TransferData transferData)
This implementation of
javaToNative converts plain text
represented by a java String to a platform specific
representation. |
abstract void |
Transfer.javaToNative(java.lang.Object object,
TransferData transferData)
Converts a java representation of data to a platform specific
representation of the data.
|
void |
URLTransfer.javaToNative(java.lang.Object object,
TransferData transferData)
This implementation of
javaToNative converts a URL represented
by a java String to a platform specific representation. |
java.lang.Object |
ByteArrayTransfer.nativeToJava(TransferData transferData)
This implementation of
nativeToJava converts a platform
specific representation of a byte array to a java byte[] . |
java.lang.Object |
FileTransfer.nativeToJava(TransferData transferData)
This implementation of
nativeToJava converts a platform
specific representation of a list of file names to a java
String[] . |
java.lang.Object |
HTMLTransfer.nativeToJava(TransferData transferData)
This implementation of
nativeToJava converts a platform
specific representation of HTML text to a java String . |
java.lang.Object |
ImageTransfer.nativeToJava(TransferData transferData)
This implementation of
nativeToJava converts a platform
specific representation of an image to java ImageData . |
java.lang.Object |
RTFTransfer.nativeToJava(TransferData transferData)
This implementation of
nativeToJava converts a platform
specific representation of RTF text to a java String . |
java.lang.Object |
TextTransfer.nativeToJava(TransferData transferData)
This implementation of
nativeToJava converts a platform
specific representation of plain text to a java String . |
abstract java.lang.Object |
Transfer.nativeToJava(TransferData transferData)
Converts a platform specific representation of data to a java
representation.
|
java.lang.Object |
URLTransfer.nativeToJava(TransferData transferData)
This implementation of
nativeToJava converts a platform
specific representation of a URL to a java String . |
static boolean |
TransferData.sameType(TransferData data1,
TransferData data2) |
Copyright (c) EclipseSource and others 2002, 2014.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0