public interface SubmittableElement
Modifier and Type | Method and Description |
---|---|
String |
getDefaultValue()
Returns the default value to use when this element gets reset, if applicable.
|
NameValuePair[] |
getSubmitNameValuePairs()
Returns an array of
NameValuePair s that are the values that will be sent
back to the server whenever this element's containing form is submitted. |
boolean |
isDefaultChecked()
Returns the default checked state to use when this element gets reset, if applicable.
|
void |
reset()
Returns the value of this element to the default value or checked state (usually what it was at
the time the page was loaded, unless it has been modified via JavaScript).
|
void |
setDefaultChecked(boolean defaultChecked)
Sets the default checked state to use when this element gets reset, if applicable.
|
void |
setDefaultValue(String defaultValue)
Sets the default value to use when this element gets reset, if applicable.
|
NameValuePair[] getSubmitNameValuePairs()
Returns an array of NameValuePair
s that are the values that will be sent
back to the server whenever this element's containing form is submitted.
THIS METHOD IS INTENDED FOR THE USE OF THE FRAMEWORK ONLY AND SHOULD NOT BE USED BY CONSUMERS OF HTMLUNIT. USE AT YOUR OWN RISK.
void reset()
void setDefaultValue(String defaultValue)
defaultValue
- the default value to use when this element gets reset, if applicableString getDefaultValue()
void setDefaultChecked(boolean defaultChecked)
defaultChecked
- the default checked state to use when this element gets reset, if applicablesetDefaultChecked(boolean)
,
HtmlRadioButtonInput.setDefaultChecked(boolean)
,
HtmlCheckBoxInput.setDefaultChecked(boolean)
boolean isDefaultChecked()
Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.