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$
-
Field Summary
FieldsFields inherited from class AbstractEvent
bubbleLimit, cancelable, currentTarget, defaultActions, eventPhase, isBubbling, namespaceURI, originalEvent, preventDefault, stopImmediatePropagation, stopPropagation, target, timeStamp, typeFields inherited from interface Event
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class 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, stopPropagationMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:
getDetailin interfaceCustomEvent
-
initCustomEventNS
public void initCustomEventNS(String namespaceURIArg, String typeArg, boolean canBubbleArg, boolean cancelableArg, Object detailArg) Initializes this custom event.- Specified by:
initCustomEventNSin 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.
-