Clipboard.getAvailableTypes

Returns an array of the data types currently available on the system clipboard. Use with Transfer.isSupportedType.

@return array of data types currently available on the system clipboard

@exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul>

@see Transfer#isSupportedType

@since 3.0

  1. TransferData[] getAvailableTypes()
    class Clipboard
    getAvailableTypes
    (
    )
  2. TransferData[] getAvailableTypes(int clipboards)

Meta