Package org.apache.batik.dom.events
Class DOMCustomEvent
java.lang.Object
org.apache.batik.dom.events.AbstractEvent
org.apache.batik.dom.events.DOMEvent
org.apache.batik.dom.events.DOMCustomEvent
- All Implemented Interfaces:
Cloneable
,OriginalEvent
,CustomEvent
,Event
A custom event object.
- Version:
- $Id: DOMCustomEvent.java 1830681 2018-05-01 13:38:53Z ssteiner $
-
Field Summary
FieldsFields inherited from class org.apache.batik.dom.events.AbstractEvent
bubbleLimit, cancelable, currentTarget, defaultActions, eventPhase, isBubbling, namespaceURI, originalEvent, preventDefault, stopImmediatePropagation, stopPropagation, target, timeStamp, type
Fields inherited from interface org.w3c.dom.events.Event
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.batik.dom.events.AbstractEvent
addDefaultAction, clone, cloneEvent, getBubbleLimit, getBubbles, getCancelable, getCurrentTarget, getDefaultActions, getDefaultPrevented, getEventPhase, getNamespaceURI, getOriginalEvent, getStopImmediatePropagation, getStopPropagation, getTarget, getTimeStamp, getType, initEvent, initEventNS, preventDefault, preventDefault, setBubbleLimit, setCurrentTarget, setEventPhase, setTarget, stopImmediatePropagation, stopImmediatePropagation, stopPropagation, stopPropagation
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.w3c.dom.events.Event
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagation
-
Field Details
-
detail
The custom detail associated with this event.
-
-
Constructor Details
-
DOMCustomEvent
public DOMCustomEvent()
-
-
Method Details
-
getDetail
Returns the custom detail of this event.- Specified by:
getDetail
in interfaceCustomEvent
-
initCustomEventNS
public void initCustomEventNS(String namespaceURIArg, String typeArg, boolean canBubbleArg, boolean cancelableArg, Object detailArg) Initializes this custom event.- Specified by:
initCustomEventNS
in interfaceCustomEvent
- Parameters:
namespaceURIArg
- Refer to theEvent.initEventNS()
method for a description of this parameter.typeArg
- Refer to theEvent.initEventNS()
method for a description of this parameter.canBubbleArg
- Refer to theEvent.initEventNS()
method for a description of this parameter.cancelableArg
- Refer to theEvent.initEventNS()
method for a description of this parameter.detailArg
- SpecifiesCustomEvent.detail
. This value may benull
.
-