| java.lang.Object java.util.EventObject com.gargoylesoftware.htmlunit.html.HtmlAttributeChangeEvent
HtmlAttributeChangeEvent | public class HtmlAttributeChangeEvent extends EventObject (Code) | | This is the event class for notifications about changes to the attributes of the
HtmlElement.
version: $Revision: 2132 $ author: Ahmed Ashour See Also: HtmlAttributeChangeListener |
Method Summary | |
public HtmlElement | getHtmlElement() Return the HtmlElement that changed. | public String | getName() Return the name of the attribute that changed on the element. | public String | getValue() Returns the value of the attribute that has been added, removed, or replaced. |
HtmlAttributeChangeEvent | public HtmlAttributeChangeEvent(HtmlElement element, String name, String value)(Code) | | Constructs a new AttributeEvent from the given element
for the given attribute name and attribute value.
Parameters: element - the HtmlElement that is sending the event. Parameters: name - the name of the attribute that changed on the element. Parameters: value - the value of the attribute that has been added, removed, or replaced. |
getHtmlElement | public HtmlElement getHtmlElement()(Code) | | Return the HtmlElement that changed.
the HtmlElement that sent the event. |
getName | public String getName()(Code) | | Return the name of the attribute that changed on the element.
the name of the attribute that changed on the element. |
getValue | public String getValue()(Code) | | Returns the value of the attribute that has been added, removed, or replaced.
If the attribute was added, this is the value of the attribute.
If the attribute was removed, this is the value of the removed attribute.
If the attribute was replaced, this is the old value of the attribute.
the value of the attribute that has been added, removed, or replaced. |
|
|