Package org.htmlunit.html
Interface DisabledElement
-
- All Known Implementing Classes:
HtmlButton
,HtmlButtonInput
,HtmlCheckBoxInput
,HtmlColorInput
,HtmlDateInput
,HtmlDateTimeLocalInput
,HtmlEmailInput
,HtmlFileInput
,HtmlHiddenInput
,HtmlImageInput
,HtmlInput
,HtmlMonthInput
,HtmlNumberInput
,HtmlOption
,HtmlOptionGroup
,HtmlPasswordInput
,HtmlRadioButtonInput
,HtmlRangeInput
,HtmlResetInput
,HtmlSearchInput
,HtmlSelect
,HtmlSelectableTextInput
,HtmlSubmitInput
,HtmlTelInput
,HtmlTextArea
,HtmlTextInput
,HtmlTimeInput
,HtmlUrlInput
,HtmlWeekInput
public interface DisabledElement
A marker interface for those classes that can be disabled.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ATTRIBUTE_DISABLED
The "disabled" attribute name.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDisabledAttribute()
Returns the value of the attributedisabled
.boolean
isDisabled()
Returnstrue
if the disabled attribute is set for this element.
-
-
-
Field Detail
-
ATTRIBUTE_DISABLED
static final java.lang.String ATTRIBUTE_DISABLED
The "disabled" attribute name.- See Also:
- Constant Field Values
-
-
Method Detail
-
isDisabled
boolean isDisabled()
Returnstrue
if the disabled attribute is set for this element.- Returns:
true
if the disabled attribute is set for this element
-
getDisabledAttribute
java.lang.String getDisabledAttribute()
Returns the value of the attributedisabled
. 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
-
-