Package net.arcadiusmc.dom.event
Interface AttributeMutateEvent
- All Superinterfaces:
Event
Event fired when either an attribute on an element is modified or when a document option is
modified
-
Method Summary
Modifier and TypeMethodDescriptionGet the mutation actiongetKey()Get the name of the attribute/option that was mutatedGet the new value of the mutated attributeGet the previous value of the mutated attributeMethods inherited from interface net.arcadiusmc.dom.event.Event
getCurrentTarget, getDocument, getPhase, getTarget, getType, isBubbling, isCancellable, isCancelled, isComposed, isPropagationStopped, preventDefault, stopPropagation
-
Method Details
-
getKey
String getKey()Get the name of the attribute/option that was mutated- Returns:
- Mutated attribute/option key
-
getPreviousValue
String getPreviousValue()Get the previous value of the mutated attribute- Returns:
- Previous value
-
getNewValue
String getNewValue()Get the new value of the mutated attribute- Returns:
- New value
-
getAction
AttributeAction getAction()Get the mutation action- Returns:
- Attribute action
-