HtmlSelection

processing.app.syntax

## Class HtmlSelection

- Object
- - HtmlSelection

- All Implemented Interfaces:
    Transferable

      public class HtmlSelection
      extends Object
      implements Transferable

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HtmlSelection(String html)`

  - ### Method Summary

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

    - ### Methods inherited from class Object

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

- - ### Constructor Detail

    - #### HtmlSelection

          public HtmlSelection(String html)

  - ### Method Detail

    - #### 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

      Specified by:
        `getTransferData` in interface `Transferable`
      Throws:
        `UnsupportedFlavorException`