Interface MutationNameEvent
- All Superinterfaces:
Event, MutationEvent
- All Known Implementing Classes:
DOMMutationNameEvent
The
MutationNameEvent interface provides specific contextual
information associated with Mutation name event types.
To create an instance of the MutationNameEvent interface,
use the Document.createEvent("MutationNameEvent") method
call.
See also the Document Object Model (DOM) Level 3 Events Specification .
- Since:
- DOM Level 3
-
Field Summary
Fields inherited from interface Event
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASEFields inherited from interface MutationEvent
ADDITION, MODIFICATION, REMOVAL -
Method Summary
Modifier and TypeMethodDescriptionThe previous value of therelatedNode'snamespaceURI.The previous value of therelatedNode'snodeName.voidinitMutationNameEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevNamespaceURIArg, String prevNodeNameArg) TheinitMutationNameEventmethod is used to initialize the value of aMutationNameEventobject and has the same behavior asMutationEvent.initMutationEvent().voidinitMutationNameEventNS(String namespaceURI, String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevNamespaceURIArg, String prevNodeNameArg) TheinitMutationNameEventNSmethod is used to initialize the value of aMutationNameEventobject and has the same behavior asMutationEvent.initMutationEventNS().Methods inherited from interface Event
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagationMethods inherited from interface MutationEvent
getAttrChange, getAttrName, getNewValue, getPrevValue, getRelatedNode, initMutationEvent
-
Method Details
-
getPrevNamespaceURI
String getPrevNamespaceURI()The previous value of therelatedNode'snamespaceURI. -
getPrevNodeName
String getPrevNodeName()The previous value of therelatedNode'snodeName. -
initMutationNameEvent
void initMutationNameEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevNamespaceURIArg, String prevNodeNameArg) TheinitMutationNameEventmethod is used to initialize the value of aMutationNameEventobject and has the same behavior asMutationEvent.initMutationEvent().- Parameters:
typeArg- Refer to theMutationEvent.initMutationEvent()method for a description of this parameter.canBubbleArg- Refer to theMutationEvent.initMutationEvent()method for a description of this parameter.cancelableArg- Refer to theMutationEvent.initMutationEvent()method for a description of this parameter.relatedNodeArg- Refer to theMutationEvent.initMutationEvent()method for a description of this parameter.prevNamespaceURIArg- SpecifiesMutationNameEvent.prevNamespaceURI. This value may benull.prevNodeNameArg- SpecifiesMutationNameEvent.prevNodeName.- Since:
- DOM Level 3
-
initMutationNameEventNS
void initMutationNameEventNS(String namespaceURI, String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevNamespaceURIArg, String prevNodeNameArg) TheinitMutationNameEventNSmethod is used to initialize the value of aMutationNameEventobject and has the same behavior asMutationEvent.initMutationEventNS().- Parameters:
namespaceURI- Refer to theMutationEvent.initMutationEventNS()method for a description of this parameter.typeArg- Refer to theMutationEvent.initMutationEventNS()method for a description of this parameter.canBubbleArg- Refer to theMutationEvent.initMutationEventNS()method for a description of this parameter.cancelableArg- Refer to theMutationEvent.initMutationEventNS()method for a description of this parameter.relatedNodeArg- Refer to theMutationEvent.initMutationEventNS()method for a description of this parameter.prevNamespaceURIArg- Refer to theMutationEvent.initMutationEvent()method for a description of this parameter.prevNodeNameArg- Refer to theMutationEvent.initMutationEvent()method for a description of this parameter.- Since:
- DOM Level 3
-