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:
java.lang.Cloneable
,OriginalEvent
,CustomEvent
,org.w3c.dom.events.Event
public class DOMCustomEvent extends DOMEvent implements CustomEvent
A custom event object.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Object
detail
The custom detail associated with this event.-
Fields inherited from class org.apache.batik.dom.events.AbstractEvent
bubbleLimit, cancelable, currentTarget, defaultActions, eventPhase, isBubbling, namespaceURI, originalEvent, preventDefault, stopImmediatePropagation, stopPropagation, target, timeStamp, type
-
-
Constructor Summary
Constructors Constructor Description DOMCustomEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getDetail()
Returns the custom detail of this event.void
initCustomEventNS(java.lang.String namespaceURIArg, java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, java.lang.Object detailArg)
Initializes this custom event.-
Methods inherited from class org.apache.batik.dom.events.AbstractEvent
addDefaultAction, clone, cloneEvent, getBubbleLimit, getBubbles, getCancelable, getCurrentTarget, getDefaultActions, getDefaultPrevented, getEventPhase, getNamespaceURI, getOriginalEvent, getTarget, getTimeStamp, getType, initEvent, initEventNS, preventDefault, setBubbleLimit, stopImmediatePropagation, stopPropagation
-
-
-
-
Method Detail
-
getDetail
public java.lang.Object getDetail()
Returns the custom detail of this event.- Specified by:
getDetail
in interfaceCustomEvent
-
initCustomEventNS
public void initCustomEventNS(java.lang.String namespaceURIArg, java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, java.lang.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
.
-
-