Class CharacterDataChangeEvent
java.lang.Object
java.util.EventObject
org.htmlunit.html.CharacterDataChangeEvent
- All Implemented Interfaces:
Serializable
This is the event class for notifications about changes to the Character Data.
- See Also:
-
Field Summary
FieldsFields inherited from class EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionCharacterDataChangeEvent(DomCharacterData characterData, String oldValue) Constructs a new CharacterDataChangeEvent from the given character data and the old value. -
Method Summary
Modifier and TypeMethodDescriptionReturns the character data that was changed.Returns the old value.Methods inherited from class EventObject
getSource, toString
-
Field Details
-
oldValue_
-
-
Constructor Details
-
CharacterDataChangeEvent
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 Details
-
getCharacterData
Returns the character data that was changed.- Returns:
- the character data that was changed
-
getOldValue
-