|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectgnu.xml.dom.DomEvent
gnu.xml.dom.DomEvent.DomMutationEvent
"MutationEvent" implementation.
| Nested Class Summary |
|---|
| Nested classes inherited from class gnu.xml.dom.DomEvent |
|---|
DomEvent.DomMutationEvent, DomEvent.DomUIEvent |
| Field Summary |
|---|
| Fields inherited from interface org.w3c.dom.events.MutationEvent |
|---|
ADDITION, MODIFICATION, REMOVAL |
| Fields inherited from interface org.w3c.dom.events.Event |
|---|
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE |
| Constructor Summary | |
|---|---|
DomEvent.DomMutationEvent(String type)
Constructs an uninitialized mutation event. |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class gnu.xml.dom.DomEvent |
|---|
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagation, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.events.Event |
|---|
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagation |
| Constructor Detail |
public DomEvent.DomMutationEvent(String type)
| Method Detail |
public final Node getRelatedNode()
getRelatedNode in interface MutationEventpublic final String getPrevValue()
getPrevValue in interface MutationEventpublic final String getNewValue()
getNewValue in interface MutationEventpublic final String getAttrName()
getAttrName in interface MutationEventpublic final short getAttrChange()
getAttrChange in interface MutationEvent
public final void initMutationEvent(String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
Node relatedNodeArg,
String prevValueArg,
String newValueArg,
String attrNameArg,
short attrChangeArg)
initMutationEvent in interface MutationEvent
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Source code is under GPL (with library exception) in the JAXP project at http://www.gnu.org/software/classpathx/jaxp
This documentation was derived from that source code on 2007-02-12.