Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
Field Summary |
Fields inherited from class org.lobobrowser.html.domimpl.HTMLBaseInputElement | |
inputContext |
Fields inherited from class org.lobobrowser.html.domimpl.ElementImpl | |
attributes |
Fields inherited from class org.lobobrowser.html.domimpl.NodeImpl | |
document , logger , nodeList , notificationsSuspended , parentNode , treeLock , uiNode |
Constructor Summary | |
|
Method Summary | |
void |
|
boolean |
|
boolean |
|
protected FormInput[] | |
int |
|
int |
|
String |
|
String |
|
String |
|
boolean | |
boolean | |
boolean | |
boolean | |
boolean | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
Methods inherited from class org.lobobrowser.html.domimpl.HTMLBaseInputElement | |
addImageListener , assignAttributeField , blur , focus , getAccept , getAccessKey , getAlign , getAlt , getDefaultValue , getDisabled , getFileValue , getForm , getImage , getName , getOnload , getReadOnly , getTabIndex , getValue , removeImageListener , resetForm , select , setAccept , setAccessKey , setAlign , setAlt , setDefaultValue , setDisabled , setInputContext , setName , setOnload , setReadOnly , setTabIndex , setValue , submitForm |
Methods inherited from class org.lobobrowser.html.domimpl.HTMLAbstractUIElement | |
assignAttributeField , blur , focus , getEventFunction , getOnblur , getOnclick , getOncontextmenu , getOndblclick , getOnfocus , getOnkeydown , getOnkeypress , getOnkeyup , getOnmousedown , getOnmousemove , getOnmouseout , getOnmouseover , getOnmouseup , setOnblur , setOnclick , setOncontextmenu , setOndblclick , setOnfocus , setOnkeydown , setOnkeypress , setOnkeyup , setOnmousedown , setOnmousemove , setOnmouseout , setOnmouseover , setOnmouseup |
Methods inherited from class org.lobobrowser.js.AbstractScriptableDelegate | |
getScriptable , setScriptable |
public void click()
Simulate a mouse-click. ForINPUT
elements whosetype
attribute has one of the following values: "button", "checkbox", "radio", "reset", or "submit".
- Specified by:
- click in interface HTMLInputElement
public boolean getChecked()
When thetype
attribute of the element has the value "radio" or "checkbox", this represents the current state of the form control, in an interactive user agent. Changes to this attribute change the state of the form control, but do not change the value of the HTML checked attribute of the INPUT element.During the handling of a click event on an input element with a type attribute that has the value "radio" or "checkbox", some implementations may change the value of this property before the event is being dispatched in the document. If the default action of the event is canceled, the value of the property may be changed back to its original value. This means that the value of this property during the handling of click events is implementation dependent.
- Specified by:
- getChecked in interface HTMLInputElement
public boolean getDefaultChecked()
Whentype
has the value "radio" or "checkbox", this represents the HTML checked attribute of the element. The value of this attribute does not change if the state of the corresponding form control, in an interactive user agent, changes. See the checked attribute definition in HTML 4.01.
- Specified by:
- getDefaultChecked in interface HTMLInputElement
protected FormInput[] getFormInputs()
- Overrides:
- getFormInputs in interface HTMLElementImpl
public int getMaxLength()
Maximum number of characters for text fields, whentype
has the value "text" or "password". See the maxlength attribute definition in HTML 4.01.
- Specified by:
- getMaxLength in interface HTMLInputElement
public int getSize()
Size information. The precise meaning is specific to each type of field. See the size attribute definition in HTML 4.01.
- Specified by:
- getSize in interface HTMLInputElement
Version: DOM Level 2
public String getSrc()
When thetype
attribute has the value "image", this attribute specifies the location of the image to be used to decorate the graphical submit button. See the src attribute definition in HTML 4.01.
- Specified by:
- getSrc in interface HTMLInputElement
public String getType()
Gets input type in lowercase.
- Specified by:
- getType in interface HTMLInputElement
public String getUseMap()
Use client-side image map. See the usemap attribute definition in HTML 4.01.
- Specified by:
- getUseMap in interface HTMLInputElement
public boolean isImageInput()
public boolean isResetInput()
public boolean isSubmitInput()
public boolean isSubmittableWithEnterKey()
public boolean isSubmittableWithPress()
public void setChecked(boolean checked)
When thetype
attribute of the element has the value "radio" or "checkbox", this represents the current state of the form control, in an interactive user agent. Changes to this attribute change the state of the form control, but do not change the value of the HTML checked attribute of the INPUT element.During the handling of a click event on an input element with a type attribute that has the value "radio" or "checkbox", some implementations may change the value of this property before the event is being dispatched in the document. If the default action of the event is canceled, the value of the property may be changed back to its original value. This means that the value of this property during the handling of click events is implementation dependent.
- Specified by:
- setChecked in interface HTMLInputElement
public void setDefaultChecked(boolean defaultChecked)
Whentype
has the value "radio" or "checkbox", this represents the HTML checked attribute of the element. The value of this attribute does not change if the state of the corresponding form control, in an interactive user agent, changes. See the checked attribute definition in HTML 4.01.
- Specified by:
- setDefaultChecked in interface HTMLInputElement
public void setMaxLength(int maxLength)
Maximum number of characters for text fields, whentype
has the value "text" or "password". See the maxlength attribute definition in HTML 4.01.
- Specified by:
- setMaxLength in interface HTMLInputElement
public void setSize(int size)
Size information. The precise meaning is specific to each type of field. See the size attribute definition in HTML 4.01.
- Specified by:
- setSize in interface HTMLInputElement
Version: DOM Level 2
public void setSrc(String src)
When thetype
attribute has the value "image", this attribute specifies the location of the image to be used to decorate the graphical submit button. See the src attribute definition in HTML 4.01.
- Specified by:
- setSrc in interface HTMLInputElement
public void setType(String type)
The type of control created (all lower case). See the type attribute definition in HTML 4.01.
- Specified by:
- setType in interface HTMLInputElement
Version: DOM Level 2
public void setUseMap(String useMap)
Use client-side image map. See the usemap attribute definition in HTML 4.01.
- Specified by:
- setUseMap in interface HTMLInputElement