public interface MutationNameEvent extends MutationEvent
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 .
ADDITION, MODIFICATION, REMOVAL
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPrevNamespaceURI()
The previous value of the
relatedNode 's
namespaceURI . |
java.lang.String |
getPrevNodeName()
The previous value of the
relatedNode 's
nodeName . |
void |
initMutationNameEvent(java.lang.String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
Node relatedNodeArg,
java.lang.String prevNamespaceURIArg,
java.lang.String prevNodeNameArg)
The
initMutationNameEvent method is used to initialize
the value of a MutationNameEvent object and has the same
behavior as MutationEvent.initMutationEvent() . |
void |
initMutationNameEventNS(java.lang.String namespaceURI,
java.lang.String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
Node relatedNodeArg,
java.lang.String prevNamespaceURIArg,
java.lang.String prevNodeNameArg)
The
initMutationNameEventNS method is used to initialize
the value of a MutationNameEvent object and has the same
behavior as MutationEvent.initMutationEventNS() . |
getAttrChange, getAttrName, getNewValue, getPrevValue, getRelatedNode, initMutationEvent
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagation
java.lang.String getPrevNamespaceURI()
relatedNode
's
namespaceURI
.java.lang.String getPrevNodeName()
relatedNode
's
nodeName
.void initMutationNameEvent(java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, java.lang.String prevNamespaceURIArg, java.lang.String prevNodeNameArg)
initMutationNameEvent
method is used to initialize
the value of a MutationNameEvent
object and has the same
behavior as MutationEvent.initMutationEvent()
.typeArg
- Refer to the
MutationEvent.initMutationEvent()
method for a
description of this parameter.canBubbleArg
- Refer to the
MutationEvent.initMutationEvent()
method for a
description of this parameter.cancelableArg
- Refer to the
MutationEvent.initMutationEvent()
method for a
description of this parameter.relatedNodeArg
- Refer to the
MutationEvent.initMutationEvent()
method for a
description of this parameter.prevNamespaceURIArg
- Specifies
MutationNameEvent.prevNamespaceURI
. This value may be
null
.prevNodeNameArg
- Specifies
MutationNameEvent.prevNodeName
.void initMutationNameEventNS(java.lang.String namespaceURI, java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, java.lang.String prevNamespaceURIArg, java.lang.String prevNodeNameArg)
initMutationNameEventNS
method is used to initialize
the value of a MutationNameEvent
object and has the same
behavior as MutationEvent.initMutationEventNS()
.namespaceURI
- Refer to the
MutationEvent.initMutationEventNS()
method for a
description of this parameter.typeArg
- Refer to the
MutationEvent.initMutationEventNS()
method for a
description of this parameter.canBubbleArg
- Refer to the
MutationEvent.initMutationEventNS()
method for a
description of this parameter.cancelableArg
- Refer to the
MutationEvent.initMutationEventNS()
method for a
description of this parameter.relatedNodeArg
- Refer to the
MutationEvent.initMutationEventNS()
method for a
description of this parameter.prevNamespaceURIArg
- Refer to the
MutationEvent.initMutationEvent()
method for a
description of this parameter.prevNodeNameArg
- Refer to the
MutationEvent.initMutationEvent()
method for a
description of this parameter.Copyright © 2022 Apache Software Foundation. All Rights Reserved.