Package org.htmlunit.html

# Interface HtmlAttributeChangeListener

All Superinterfaces:
  `Serializable`

public interface HtmlAttributeChangeListener extends Serializable
Implementations of this interface receive notifications of changes to the attribute list on the HtmlElement.

See Also:
  - `HtmlAttributeChangeEvent`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `attributeAdded(HtmlAttributeChangeEvent event)`
  Notification that a new attribute was added to the HtmlElement.
  `void`
  `attributeRemoved(HtmlAttributeChangeEvent event)`
  Notification that an existing attribute has been removed from the HtmlElement.
  `void`
  `attributeReplaced(HtmlAttributeChangeEvent event)`
  Notification that an attribute on the HtmlElement has been replaced.

- ## Method Details

  - ### attributeAdded

    void attributeAdded(HtmlAttributeChangeEvent event)
    Notification that a new attribute was added to the HtmlElement. Called after the attribute is added.
    Parameters:
      `event` - the attribute change event

  - ### attributeRemoved

    void attributeRemoved(HtmlAttributeChangeEvent event)
    Notification that an existing attribute has been removed from the HtmlElement. Called after the attribute is removed.
    Parameters:
      `event` - the attribute change event

  - ### attributeReplaced

    void attributeReplaced(HtmlAttributeChangeEvent event)
    Notification that an attribute on the HtmlElement has been replaced. Called after the attribute is replaced.
    Parameters:
      `event` - the attribute change event