MutationEvent interface.
| Modifier and Type | Field and Description |
|---|---|
| public short | |
| pack-priv String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| pack-priv String | |
| pack-priv String | |
| pack-priv Node |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public short | getAttrChange()
Implements org. attrChange indicates the type of change which triggered
the DOMAttrModified event.
|
| public String | Returns: the name of the Attr which changed, for DOMAttrModified events. Undefined for others.Implements org. attrName indicates the name of the changed
Attr node in a DOMAttrModified event.
|
| public String | Returns: the new string value of the Attr for DOMAttrModified events, or of the CharacterData node for DOMCharDataModifed events. Undefined for others.Implements org. newValue indicates the new value of the Attr
node in DOMAttrModified events, and of the CharacterData
node in DOMCharacterDataModified events.
|
| public String | Returns: the previous string value of the Attr for DOMAttrModified events, or of the CharacterData node for DOMCharDataModifed events. Undefined for others.Implements org. prevValue indicates the previous value of the
Attr node in DOMAttrModified events, and of the
CharacterData node in DOMCharacterDataModified events.
|
| public Node | Returns: a Node related to this event, other than the target that the node was dispatched to. For DOMNodeRemoved, it is the node which was removed. No other uses are currently defined.Implements org. relatedNode is used to identify a secondary node related
to a mutation event.
|
| 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 attributeImplements org. |
| attrChange | back to summary |
|---|---|
| public short attrChange | |
| attrName | back to summary |
|---|---|
| pack-priv String attrName | |
| DOM_ATTR_MODIFIED | back to summary |
|---|---|
| public static final String DOM_ATTR_MODIFIED | |
| DOM_CHARACTER_DATA_MODIFIED | back to summary |
|---|---|
| public static final String DOM_CHARACTER_DATA_MODIFIED | |
| DOM_NODE_INSERTED | back to summary |
|---|---|
| public static final String DOM_NODE_INSERTED | |
| DOM_NODE_INSERTED_INTO_DOCUMENT | back to summary |
|---|---|
| public static final String DOM_NODE_INSERTED_INTO_DOCUMENT | |
| DOM_NODE_REMOVED | back to summary |
|---|---|
| public static final String DOM_NODE_REMOVED | |
| DOM_NODE_REMOVED_FROM_DOCUMENT | back to summary |
|---|---|
| public static final String DOM_NODE_REMOVED_FROM_DOCUMENT | |
| DOM_SUBTREE_MODIFIED | back to summary |
|---|---|
| public static final String DOM_SUBTREE_MODIFIED | |
| newValue | back to summary |
|---|---|
| pack-priv String newValue | |
| prevValue | back to summary |
|---|---|
| pack-priv String prevValue | |
| relatedNode | back to summary |
|---|---|
| pack-priv Node relatedNode | |
| MutationEventImpl | back to summary |
|---|---|
| public MutationEventImpl() | |
| getAttrChange | back to summary |
|---|---|
| public short getAttrChange() Implements org.
| |
| getAttrName | back to summary |
|---|---|
| public String getAttrName() Implements org. Doc from org.
| |
| getNewValue | back to summary |
|---|---|
| public String getNewValue() Implements org. Doc from org.
| |
| getPrevValue | back to summary |
|---|---|
| public String getPrevValue() Implements org. Doc from org.
| |
| getRelatedNode | back to summary |
|---|---|
| public Node getRelatedNode() Implements org. Doc from org.
| |
| initMutationEvent | back to summary |
|---|---|
| public void initMutationEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevValueArg, String newValueArg, String attrNameArg, short attrChangeArg) Implements org. Initialize a mutation event, or overwrite the event's current settings with new values of the parameters.
| |