com.gargoylesoftware.htmlunit.html
Interface DisabledElement

All Known Implementing Classes:
HtmlButton, HtmlButtonInput, HtmlCheckBoxInput, HtmlFileInput, HtmlHiddenInput, HtmlImageInput, HtmlInput, HtmlOption, HtmlOptionGroup, HtmlPasswordInput, HtmlRadioButtonInput, HtmlResetInput, HtmlSelect, HtmlSubmitInput, HtmlTextArea, HtmlTextInput

public interface DisabledElement

A marker interface for those classes that can be disabled.

Version:
$Revision: 1.3 $
Author:
David D. Kilzer

Method Summary
 java.lang.String getDisabledAttribute()
 Return the value of the attribute "disabled".
 boolean isDisabled()
 Return true if the disabled attribute is set for this element.
 

Method Detail

getDisabledAttribute

java.lang.String getDisabledAttribute()
Return the value of the attribute "disabled". Refer to the HTML 4.01 documentation for details on the use of this attribute.

Returns:
The value of the attribute "disabled" or an empty string if that attribute isn't defined.

isDisabled

boolean isDisabled()
Return true if the disabled attribute is set for this element.

Returns:
Return true if this element is disabled.


Copyright © 2003-2016 AppPerfect Corporation. All Rights Reserved.