Class BlobEvent

java.lang.Object
org.htmlunit.corejs.javascript.ScriptableObject
All Implemented Interfaces:
Serializable, Cloneable, org.htmlunit.corejs.javascript.ConstProperties, org.htmlunit.corejs.javascript.debug.DebuggableObject, org.htmlunit.corejs.javascript.Scriptable, org.htmlunit.corejs.javascript.SymbolScriptable

public class BlobEvent extends Event
A JavaScript object for BlobEvent.
See Also:
  • Field Details

    • data_

      private Blob data_
      The data passed when initializing the event.
  • Constructor Details

    • BlobEvent

      public BlobEvent()
      Creates an instance.
  • Method Details

    • jsConstructor

      public void jsConstructor(String type, org.htmlunit.corejs.javascript.ScriptableObject details)
      JavaScript constructor.
      Overrides:
      jsConstructor in class Event
      Parameters:
      type - the event type
      details - the event details (optional)
    • getData

      public Blob getData()
      Returns:
      the Blob associated with the event
    • setDetail

      protected void setDetail(Blob data)
      Sets the associated with the event.
      Parameters:
      data - associated with the event