MutationEvent interface provides specific contextual
information associated with Mutation events.
See also the Document Object Model (DOM) Level 2 Events Specification.
| Modifier and Type | Field and Description |
|---|---|
| public static final short | ADDITION
The |
| public static final short | MODIFICATION
The |
| public static final short | REMOVAL
The |
| Modifier and Type | Method and Description |
|---|---|
| public short | |
| public String | |
| public String | getNewValue()
|
| public String | getPrevValue()
|
| public Node | |
| public void | initMutationEvent(String
Specifies the event type. typeArg, boolean Specifies whether or not the event can bubble. canBubbleArg, boolean Specifies whether or not the event's default
action can be prevented. cancelableArg, Node Specifies the relatedNodeArg, String Event's related Node.Specifies the prevValueArg, String Event's
prevValue attribute. This value may be null.Specifies the newValueArg, String Event's
newValue attribute. This value may be null.Specifies the attrNameArg, short Event's
attrName attribute. This value may be null.Specifies the attrChangeArg)Event's
attrChange attributeThe |
| ADDITION | back to summary |
|---|---|
| public static final short ADDITION The | |
| MODIFICATION | back to summary |
|---|---|
| public static final short MODIFICATION The | |
| REMOVAL | back to summary |
|---|---|
| public static final short REMOVAL The | |
| getAttrChange | back to summary |
|---|---|
| public short getAttrChange()
| |
| getAttrName | back to summary |
|---|---|
| public String getAttrName()
| |
| getNewValue | back to summary |
|---|---|
| public String getNewValue()
| |
| getPrevValue | back to summary |
|---|---|
| public String getPrevValue()
| |
| getRelatedNode | back to summary |
|---|---|
| public Node getRelatedNode()
| |
| initMutationEvent | back to summary |
|---|---|
| public void initMutationEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevValueArg, String newValueArg, String attrNameArg, short attrChangeArg) The
| |