org.eclipse.swt.dnd
Class TransferData

java.lang.Object
  |
  +--org.eclipse.swt.dnd.TransferData

public class TransferData
extends Object

Untamed: The TransferData class is a platform specific data structure for describing the type and the contents of data being converted by a transfer agent.

As an application writer, you do not need to know the specifics of TransferData. TransferData instances are passed to a subclass of Transfer and the Transfer object manages the platform specific issues. You can ask a Transfer subclass if it can handle this data by calling Transfer.isSupportedType(transferData).

You should only need to become familiar with the fields in this class if you are implementing a Transfer subclass and you are unable to subclass the ByteArrayTransfer class.


Field Summary
 org.eclipse.swt.internal.ole.win32.FORMATETC formatetc
          Enabled: The formatetc structure is a generalized data transfer format, enhanced to encompass a target device, the aspect, or view of the data, and a storage medium.
 int pIDataObject
          Enabled: The pIDataObject is the address of an IDataObject OLE Interface which provides access to the data associated with the transfer.
 int result
          Enabled: The result field contains the result of converting a java data type into a stgmedium value.
 org.eclipse.swt.internal.ole.win32.STGMEDIUM stgmedium
          Enabled: The stgmedium structure is a generalized global memory handle used for data transfer operations.
 int type
          Enabled: The type is a unique identifier of a system format or user defined format.
 
Constructor Summary
TransferData()
          Enabled:
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

public int type
Enabled: The type is a unique identifier of a system format or user defined format. (Warning: This field is platform dependent)


formatetc

public org.eclipse.swt.internal.ole.win32.FORMATETC formatetc
Enabled: The formatetc structure is a generalized data transfer format, enhanced to encompass a target device, the aspect, or view of the data, and a storage medium. (Warning: This field is platform dependent)


stgmedium

public org.eclipse.swt.internal.ole.win32.STGMEDIUM stgmedium
Enabled: The stgmedium structure is a generalized global memory handle used for data transfer operations. (Warning: This field is platform dependent)


result

public int result
Enabled: The result field contains the result of converting a java data type into a stgmedium value. (Warning: This field is platform dependent)


pIDataObject

public int pIDataObject
Enabled: The pIDataObject is the address of an IDataObject OLE Interface which provides access to the data associated with the transfer. (Warning: This field is platform dependent)

Constructor Detail

TransferData

public TransferData()
Enabled:



comments?