org.kde.koala

Class HTMLInputElement

public class HTMLInputElement extends HTMLElement

Form control. Note. Depending upon the environment the page is being viewed, the value property may be read-only for the file upload input type. For the "password" input type, the actual value returned may be masked to prevent unauthorized use. See the INPUT element definition in HTML 4.0.

UNKNOWN: Form control.

Constructor Summary
protected HTMLInputElement(Class dummy)
HTMLInputElement()
HTMLInputElement(HTMLInputElement other)
HTMLInputElement(Node other)
Method Summary
Stringaccept()
A comma-separated list of content types that a server processing this form will handle correctly.
StringaccessKey()
A single character access key to give access to the form control.
Stringalign()
Aligns this object (vertically or horizontally) with respect to its surrounding text.
Stringalt()
Alternate text for user agents not rendering the normal content of this element.
voidblur()
Removes keyboard focus from this element.
booleanchecked()
Describes whether a radio or check box is checked, when type has the value "Radio" or "Checkbox".
voidclick()
Simulate a mouse-click.
booleandefaultChecked()
When type has the value "Radio" or "Checkbox", stores the initial value of the checked attribute.
StringdefaultValue()
Stores the initial control value (i.e., the initial value of value ).
booleandisabled()
The control is unavailable in this context.
voidfocus()
Gives keyboard focus to this element.
HTMLFormElementformElement()
### KDE 4.0: remove.
longgetSize()
Size information.
longmaxLength()
Maximum number of characters for text fields, when type has the value "Text" or "Password".
Stringname()
Form control or object name when submitted with a form.
booleanreadOnly()
This control is read-only.
voidselect()
Select the contents of the text area.
voidsetAccept(String arg1)
see accept
voidsetAccessKey(String arg1)
see accessKey
voidsetAlign(String arg1)
see align
voidsetAlt(String arg1)
see alt
voidsetChecked(boolean arg1)
see checked
voidsetDefaultChecked(boolean arg1)
see defaultChecked
voidsetDefaultValue(String arg1)
see defaultValue
voidsetDisabled(boolean arg1)
see disabled
voidsetMaxLength(long arg1)
see maxLength
voidsetName(String arg1)
see name
voidsetReadOnly(boolean arg1)
see readOnly
voidsetSize(long arg1)
see getSize
voidsetSrc(String arg1)
see src
voidsetTabIndex(long arg1)
see tabIndex
voidsetType(String arg1)
see type
voidsetUseMap(String arg1)
see useMap
voidsetValue(String arg1)
see value
Stringsrc()
When the type attribute has the value "Image", this attribute specifies the location of the image to be used to decorate the graphical submit button.
longtabIndex()
Index that represents the element's position in the tabbing order.
Stringtype()
The type of control created.
StringuseMap()
Use client-side image map.
Stringvalue()
The current form control value.

Constructor Detail

HTMLInputElement

protected HTMLInputElement(Class dummy)

HTMLInputElement

public HTMLInputElement()

HTMLInputElement

public HTMLInputElement(HTMLInputElement other)

HTMLInputElement

public HTMLInputElement(Node other)

Method Detail

accept

public String accept()
A comma-separated list of content types that a server processing this form will handle correctly. See the accept attribute definition in HTML 4.0.

UNKNOWN: A comma-separated list of content types that a server processing this form will handle correctly.

accessKey

public String accessKey()
A single character access key to give access to the form control. See the accesskey attribute definition in HTML 4.0.

UNKNOWN: A single character access key to give access to the form control.

align

public String align()
Aligns this object (vertically or horizontally) with respect to its surrounding text. See the align attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

UNKNOWN: Aligns this object (vertically or horizontally) with respect to its surrounding text.

alt

public String alt()
Alternate text for user agents not rendering the normal content of this element. See the alt attribute definition in HTML 4.0.

UNKNOWN: Alternate text for user agents not rendering the normal content of this element.

blur

public void blur()
Removes keyboard focus from this element.

UNKNOWN: Removes keyboard focus from this element.

checked

public boolean checked()
Describes whether a radio or check box is checked, when type has the value "Radio" or "Checkbox". The value is true if explicitly set. Represents the current state of the checkbox or radio button. See the checked attribute definition in HTML 4.0.

UNKNOWN: Describes whether a radio or check box is checked, when type has the value "Radio" or "Checkbox".

click

public void click()
Simulate a mouse-click. For INPUT elements whose type attribute has one of the following values: "Button", "Checkbox", "Radio", "Reset", or "Submit".

UNKNOWN: Simulate a mouse-click.

defaultChecked

public boolean defaultChecked()
When type has the value "Radio" or "Checkbox", stores the initial value of the checked attribute.

UNKNOWN: When type has the value "Radio" or "Checkbox", stores the initial value of the checked attribute.

defaultValue

public String defaultValue()
Stores the initial control value (i.e., the initial value of value ).

UNKNOWN: Stores the initial control value (i.

disabled

public boolean disabled()
The control is unavailable in this context. See the disabled attribute definition in HTML 4.0.

UNKNOWN: The control is unavailable in this context.

focus

public void focus()
Gives keyboard focus to this element.

UNKNOWN: Gives keyboard focus to this element.

formElement

public HTMLFormElement formElement()
### KDE 4.0: remove.

UNKNOWN: ### KDE 4.

getSize

public long getSize()
Size information. The precise meaning is specific to each type of field. See the size attribute definition in HTML 4.0.

UNKNOWN: Size information.

maxLength

public long maxLength()
Maximum number of characters for text fields, when type has the value "Text" or "Password". See the maxlength attribute definition in HTML 4.0.

UNKNOWN: Maximum number of characters for text fields, when type has the value "Text" or "Password".

name

public String name()
Form control or object name when submitted with a form. See the name attribute definition in HTML 4.0.

UNKNOWN: Form control or object name when submitted with a form.

readOnly

public boolean readOnly()
This control is read-only. When type has the value "text" or "password" only. See the readonly attribute definition in HTML 4.0.

UNKNOWN: This control is read-only.

select

public void select()
Select the contents of the text area. For INPUT elements whose type attribute has one of the following values: "Text", "File", or "Password".

UNKNOWN: Select the contents of the text area.

setAccept

public void setAccept(String arg1)
see accept

UNKNOWN: see accept

setAccessKey

public void setAccessKey(String arg1)
see accessKey

UNKNOWN: see accessKey

setAlign

public void setAlign(String arg1)
see align

UNKNOWN: see align

setAlt

public void setAlt(String arg1)
see alt

UNKNOWN: see alt

setChecked

public void setChecked(boolean arg1)
see checked

UNKNOWN: see checked

setDefaultChecked

public void setDefaultChecked(boolean arg1)
see defaultChecked

UNKNOWN: see defaultChecked

setDefaultValue

public void setDefaultValue(String arg1)
see defaultValue

UNKNOWN: see defaultValue

setDisabled

public void setDisabled(boolean arg1)
see disabled

UNKNOWN: see disabled

setMaxLength

public void setMaxLength(long arg1)
see maxLength

UNKNOWN: see maxLength

setName

public void setName(String arg1)
see name

UNKNOWN: see name

setReadOnly

public void setReadOnly(boolean arg1)
see readOnly

UNKNOWN: see readOnly

setSize

public void setSize(long arg1)
see getSize

UNKNOWN: see getSize

setSrc

public void setSrc(String arg1)
see src

UNKNOWN: see src

setTabIndex

public void setTabIndex(long arg1)
see tabIndex

UNKNOWN: see tabIndex

setType

public void setType(String arg1)
see type

UNKNOWN: see type

setUseMap

public void setUseMap(String arg1)
see useMap

UNKNOWN: see useMap

setValue

public void setValue(String arg1)
see value

UNKNOWN: see value

src

public String src()
When the type 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.0.

UNKNOWN: When the type attribute has the value "Image", this attribute specifies the location of the image to be used to decorate the graphical submit button.

tabIndex

public long tabIndex()
Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.0.

UNKNOWN: Index that represents the element's position in the tabbing order.

type

public String type()
The type of control created. See the type attribute definition in HTML 4.0.

UNKNOWN: The type of control created.

useMap

public String useMap()
Use client-side image map. See the usemap attribute definition in HTML 4.0.

UNKNOWN: Use client-side image map.

value

public String value()
The current form control value. Used for radio buttons and check boxes. See the value attribute definition in HTML 4.0.

UNKNOWN: The current form control value.