Package org.htmlunit.html
Class DomChangeEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.htmlunit.html.DomChangeEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class DomChangeEvent extends java.util.EventObject
This is the event class for notifications about changes to the DOM structure.- See Also:
DomChangeListener
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DomChangeEvent(DomNode parentNode, DomNode changedNode)
Constructs a new DomChangeEvent from the given parent node and a changed node.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DomNode
getChangedNode()
Returns the node that has been added or deleted.DomNode
getParentNode()
Returns the parent of the node that was changed.
-
-
-
Method Detail
-
getParentNode
public DomNode getParentNode()
Returns the parent of the node that was changed.- Returns:
- the parent of the node that was changed
-
getChangedNode
public DomNode getChangedNode()
Returns the node that has been added or deleted.- Returns:
- the node that has been added or deleted
-
-