gnu.xml.dom
Class DomEvent.DomMutationEvent
- DomEvent
- Event, MutationEvent
public static final class DomEvent.DomMutationEvent
"MutationEvent" implementation.
short | getAttrChange() - For attribute change events, returns how the attribuet changed
|
String | getAttrName() - For attribute change events, returns the attribute's name
|
String | getNewValue() - Returns any "new value" provided by this type of event
|
String | getPrevValue() - Returns any "previous value" provided by this type of event
|
Node | getRelatedNode() - Returns any "related" node provided by this type of event
|
void | initMutationEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, Node relatedNodeArg, String prevValueArg, String newValueArg, String attrNameArg, short attrChangeArg) - Initializes a mutation event
|
getBubbles , getCancelable , getCurrentTarget , getEventPhase , getTarget , getTimeStamp , getType , initEvent , preventDefault , stopPropagation , toString |
DomMutationEvent
public DomMutationEvent(String type)
Constructs an uninitialized mutation event.
getAttrChange
public final short getAttrChange()
For attribute change events, returns how the attribuet changed
- getAttrChange in interface MutationEvent
getAttrName
public final String getAttrName()
For attribute change events, returns the attribute's name
- getAttrName in interface MutationEvent
getNewValue
public final String getNewValue()
Returns any "new value" provided by this type of event
- getNewValue in interface MutationEvent
getPrevValue
public final String getPrevValue()
Returns any "previous value" provided by this type of event
- getPrevValue in interface MutationEvent
initMutationEvent
public final void initMutationEvent(String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
Node relatedNodeArg,
String prevValueArg,
String newValueArg,
String attrNameArg,
short attrChangeArg)
Initializes a mutation event
- initMutationEvent in interface MutationEvent