Class DragDropEventBase<H extends EventHandler>

    • Constructor Detail

      • DragDropEventBase

        public DragDropEventBase()
    • Method Detail

      • isSupported

        public static boolean isSupported()
        Runtime check for whether drag events are supported in this browser.
        Returns:
        true if supported, false if not
      • getData

        public java.lang.String getData​(java.lang.String format)
        Get the data for the specified format from the DataTransfer object.
        Parameters:
        format - the format
        Returns:
        the data for the specified format
      • setData

        public void setData​(java.lang.String format,
                            java.lang.String data)
        Set the data in the DataTransfer object for the specified format.
        Parameters:
        format - the format
        data - the data to associate with the format