Class DOMCustomEvent

All Implemented Interfaces:
Cloneable, OriginalEvent, CustomEvent, Event

public class DOMCustomEvent extends DOMEvent implements CustomEvent
A custom event object.
Version:
$Id: DOMCustomEvent.java 1830681 2018-05-01 13:38:53Z ssteiner $
  • Field Details

    • detail

      protected Object detail
      The custom detail associated with this event.
  • Constructor Details

    • DOMCustomEvent

      public DOMCustomEvent()
  • Method Details

    • getDetail

      public Object getDetail()
      Returns the custom detail of this event.
      Specified by:
      getDetail in interface CustomEvent
    • initCustomEventNS

      public void initCustomEventNS(String namespaceURIArg, String typeArg, boolean canBubbleArg, boolean cancelableArg, Object detailArg)
      Initializes this custom event.
      Specified by:
      initCustomEventNS in interface CustomEvent
      Parameters:
      namespaceURIArg - Refer to the Event.initEventNS() method for a description of this parameter.
      typeArg - Refer to the Event.initEventNS() method for a description of this parameter.
      canBubbleArg - Refer to the Event.initEventNS() method for a description of this parameter.
      cancelableArg - Refer to the Event.initEventNS() method for a description of this parameter.
      detailArg - Specifies CustomEvent.detail. This value may be null.