Package docking.dnd

# Class StringTransferable

java.lang.Object
docking.dnd.StringTransferable

All Implemented Interfaces:
  `Transferable`

public class StringTransferable extends Object implements Transferable

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `StringTransferable(String data)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `getTransferData(DataFlavor flavor)`
  `DataFlavor[]`
  `getTransferDataFlavors()`
  `boolean`
  `isDataFlavorSupported(DataFlavor flavor)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### StringTransferable

    public StringTransferable(String data)

- ## Method Details

  - ### getTransferDataFlavors

    public DataFlavor[] getTransferDataFlavors()
    Specified by:
      `getTransferDataFlavors` in interface `Transferable`

  - ### isDataFlavorSupported

    public boolean isDataFlavorSupported(DataFlavor flavor)
    Specified by:
      `isDataFlavorSupported` in interface `Transferable`

  - ### getTransferData

    public Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException
    Specified by:
      `getTransferData` in interface `Transferable`
    Throws:
      `UnsupportedFlavorException`
      `IOException`