| com.gargoylesoftware.htmlunit.html.SubmittableElement
All known Subclasses: com.gargoylesoftware.htmlunit.html.HtmlIsIndex, com.gargoylesoftware.htmlunit.html.HtmlSelect, com.gargoylesoftware.htmlunit.html.HtmlInput, com.gargoylesoftware.htmlunit.html.HtmlButton, com.gargoylesoftware.htmlunit.html.HtmlTextArea,
SubmittableElement | public interface SubmittableElement (Code) | | An element that can have it's values sent to the server during a form submit
version: $Revision: 2132 $ author: Mike Bowler author: Daniel Gredler |
Method Summary | |
String | getDefaultValue() Returns the default value to use when this element gets reset, if applicable. | KeyValuePair[] | getSubmitKeyValuePairs() Return an array of KeyValuePairs that are the values that will be sent
back to the server whenever the current form is submitted .
THIS METHOD IS INTENDED FOR THE USE OF THE FRAMEWORK ONLY AND SHOULD NOT
BE USED BY CONSUMERS OF HTMLUNIT. | boolean | isDefaultChecked() Returns the default checked state to use when this element gets reset, if applicable. | void | reset() Return 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. |
getDefaultValue | String getDefaultValue()(Code) | | Returns the default value to use when this element gets reset, if applicable.
the default value to use when this element gets reset, if applicable. |
getSubmitKeyValuePairs | KeyValuePair[] getSubmitKeyValuePairs()(Code) | | Return an array of KeyValuePairs that are the values that will be sent
back to the server whenever the current 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.
See above |
isDefaultChecked | boolean isDefaultChecked()(Code) | | Returns the default checked state to use when this element gets reset, if applicable.
The default checked state to use when this element gets reset, if applicable. |
reset | void reset()(Code) | | Return 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).
|
setDefaultChecked | void setDefaultChecked(boolean defaultChecked)(Code) | | Sets the default checked state to use when this element gets reset, if applicable.
Parameters: defaultChecked - The default checked state to use when this element gets reset, if applicable. |
setDefaultValue | void setDefaultValue(String defaultValue)(Code) | | Sets the default value to use when this element gets reset, if applicable.
Parameters: defaultValue - The default value to use when this element gets reset, if applicable. |
|
|