| org.w3c.dom.events.CustomEvent
All known Subclasses: org.apache.batik.dom.events.DOMCustomEvent,
CustomEvent | public interface CustomEvent extends Event(Code) | | The CustomEvent interface is the recommended interface for
application-specific event types. Unlike the Event
interface, it allows applications to provide contextual information about
the event type. Application-specific event types should have an
associated namespace to avoid clashes with future general-purpose event
types.
To create an instance of the CustomEvent interface, use
the DocumentEvent.createEvent("CustomEvent") method call.
See also the
Document Object Model (DOM) Level 3 Events Specification
.
since: DOM Level 3 |
Method Summary | |
public Object | getDetail() Specifies some detail information about the Event . | public void | initCustomEventNS(String namespaceURI, String typeArg, boolean canBubbleArg, boolean cancelableArg, Object detailArg) The initCustomEventNS method is used to initialize the
value of a CustomEvent object and has the same behavior
as Event.initEventNS() . |
getDetail | public Object getDetail()(Code) | | Specifies some detail information about the Event .
|
initCustomEventNS | public void initCustomEventNS(String namespaceURI, String typeArg, boolean canBubbleArg, boolean cancelableArg, Object detailArg)(Code) | | The initCustomEventNS method is used to initialize the
value of a CustomEvent object and has the same behavior
as Event.initEventNS() .
Parameters: namespaceURI - Refer to the Event.initEventNS() method for a description of this parameter. Parameters: typeArg - Refer to the Event.initEventNS() method for a description of this parameter. Parameters: canBubbleArg - Refer to the Event.initEventNS() method for a description of this parameter. Parameters: cancelableArg - Refer to the Event.initEventNS() method for a description of this parameter. Parameters: detailArg - Specifies CustomEvent.detail . This value may be null . |
|
|