public class MutationEventImpl extends EventImpl implements MutationEvent
MutationEvent
interface.Modifier and Type | Field and Description |
---|---|
short |
attrChange |
static String |
DOM_ATTR_MODIFIED |
static String |
DOM_CHARACTER_DATA_MODIFIED |
static String |
DOM_NODE_INSERTED |
static String |
DOM_NODE_INSERTED_INTO_DOCUMENT |
static String |
DOM_NODE_REMOVED |
static String |
DOM_NODE_REMOVED_FROM_DOCUMENT |
static String |
DOM_SUBTREE_MODIFIED |
bubbles, cancelable, currentTarget, eventPhase, initialized, preventDefault, stopPropagation, target, timeStamp, type
ADDITION, MODIFICATION, REMOVAL
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE
Constructor and Description |
---|
MutationEventImpl() |
Modifier and Type | Method and Description |
---|---|
short |
getAttrChange()
attrChange indicates the type of change which triggered
the DOMAttrModified event. |
String |
getAttrName() |
String |
getNewValue() |
String |
getPrevValue() |
Node |
getRelatedNode() |
void |
initMutationEvent(String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
Node relatedNodeArg,
String prevValueArg,
String newValueArg,
String attrNameArg,
short attrChangeArg)
Initialize a mutation event, or overwrite the event's current
settings with new values of the parameters.
|
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagation
public short attrChange
public static final String DOM_SUBTREE_MODIFIED
public static final String DOM_NODE_INSERTED
public static final String DOM_NODE_REMOVED
public static final String DOM_NODE_REMOVED_FROM_DOCUMENT
public static final String DOM_NODE_INSERTED_INTO_DOCUMENT
public static final String DOM_ATTR_MODIFIED
public static final String DOM_CHARACTER_DATA_MODIFIED
public String getAttrName()
getAttrName
in interface MutationEvent
public short getAttrChange()
attrChange
indicates the type of change which triggered
the DOMAttrModified event. The values can be MODIFICATION
, ADDITION
, or REMOVAL
.getAttrChange
in interface MutationEvent
public String getNewValue()
getNewValue
in interface MutationEvent
public String getPrevValue()
getPrevValue
in interface MutationEvent
public Node getRelatedNode()
getRelatedNode
in interface MutationEvent
public void initMutationEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevValueArg, String newValueArg, String attrNameArg, short attrChangeArg)
initMutationEvent
in interface MutationEvent
Copyright © 2016 JBoss by Red Hat. All rights reserved.