Package org.htmlunit.html
Class CharacterDataChangeEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.htmlunit.html.CharacterDataChangeEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class CharacterDataChangeEvent extends java.util.EventObject
This is the event class for notifications about changes to the Character Data.- See Also:
CharacterDataChangeListener
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CharacterDataChangeEvent​(DomCharacterData characterData, java.lang.String oldValue)
Constructs a new CharacterDataChangeEvent from the given character data and the old value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DomCharacterData
getCharacterData()
Returns the character data that was changed.java.lang.String
getOldValue()
Returns the old value.
-
-
-
Constructor Detail
-
CharacterDataChangeEvent
public CharacterDataChangeEvent​(DomCharacterData characterData, java.lang.String oldValue)
Constructs a new CharacterDataChangeEvent from the given character data and the old value.- Parameters:
characterData
- the character data which is changedoldValue
- the old value
-
-
Method Detail
-
getCharacterData
public DomCharacterData getCharacterData()
Returns the character data that was changed.- Returns:
- the character data that was changed
-
getOldValue
public java.lang.String getOldValue()
Returns the old value.- Returns:
- the old value
-
-