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, typeADDITION, MODIFICATION, REMOVALAT_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, stopPropagationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagationpublic 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 MutationEventpublic short getAttrChange()
attrChange indicates the type of change which triggered
the DOMAttrModified event. The values can be MODIFICATION
, ADDITION, or REMOVAL.getAttrChange in interface MutationEventpublic String getNewValue()
getNewValue in interface MutationEventpublic String getPrevValue()
getPrevValue in interface MutationEventpublic Node getRelatedNode()
getRelatedNode in interface MutationEventpublic void initMutationEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevValueArg, String newValueArg, String attrNameArg, short attrChangeArg)
initMutationEvent in interface MutationEventCopyright © 2016 JBoss by Red Hat. All rights reserved.