Class DragDataItem

java.lang.Object
io.webfolder.cdp.type.input.DragDataItem

public class DragDataItem extends Object
  • Constructor Details

    • DragDataItem

      public DragDataItem()
  • Method Details

    • getMimeType

      public String getMimeType()
      Mime type of the dragged data.
    • setMimeType

      public void setMimeType(String mimeType)
      Mime type of the dragged data.
    • getData

      public String getData()
      Depending of the value of mimeType, it contains the dragged link, text, HTML markup or any other data.
    • setData

      public void setData(String data)
      Depending of the value of mimeType, it contains the dragged link, text, HTML markup or any other data.
    • getTitle

      public String getTitle()
      Title associated with a link. Only valid when mimeType == "text/uri-list".
    • setTitle

      public void setTitle(String title)
      Title associated with a link. Only valid when mimeType == "text/uri-list".
    • getBaseURL

      public String getBaseURL()
      Stores the base URL for the contained markup. Only valid when mimeType == "text/html".
    • setBaseURL

      public void setBaseURL(String baseURL)
      Stores the base URL for the contained markup. Only valid when mimeType == "text/html".
    • toString

      public String toString()
      Overrides:
      toString in class Object