MutationEventImplpublic class MutationEventImpl extends EventImpl implements MutationEvent
Fields Summary |
---|
Node | relatedNode | String | prevValue | String | newValue | String | attrName | 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 |
Methods Summary |
---|
public short | getAttrChange()attrChange indicates the type of change which triggered
the DOMAttrModified event. The values can be MODIFICATION
, ADDITION , or REMOVAL .
return attrChange;
| public java.lang.String | getAttrName()
return attrName;
| public java.lang.String | getNewValue()
return newValue;
| public java.lang.String | getPrevValue()
return prevValue;
| public org.w3c.dom.Node | getRelatedNode()
return relatedNode;
| public void | initMutationEvent(java.lang.String typeArg, boolean canBubbleArg, boolean cancelableArg, org.w3c.dom.Node relatedNodeArg, java.lang.String prevValueArg, java.lang.String newValueArg, java.lang.String attrNameArg, short attrChangeArg)Initialize a mutation event, or overwrite the event's current
settings with new values of the parameters.
relatedNode=relatedNodeArg;
prevValue=prevValueArg;
newValue=newValueArg;
attrName=attrNameArg;
attrChange=attrChangeArg;
super.initEvent(typeArg,canBubbleArg,cancelableArg);
|
|