Target types
A target type is a string that represents the type of data transfer to perform when a valid drop occurs. Target types are equivalent to format names, which are used by the Common Widgets clipboard. Common Widgets drag and drop provides two built-in target types that are supported on all platforms:
Specifies that a String is transferred
Specifies that a CgPixmap is transferred
Also can also use their own target types, for example, 'EMPLOYEE.' When Common Widgets drag and drop encounters a target type that is not built in, a ByteArray is transferred. An application must provide a ByteArray on the source side, and interpret the ByteArray data on the destination side. ByteArray data transfer is a flexible way to transfer data without writing any platform-specific code.
Last modified date: 01/29/2015