org.kde.koala

Class HTMLFormElement

public class HTMLFormElement extends HTMLElement

The FORM element encompasses behavior similar to a collection and an element. It provides direct access to the contained input elements as well as the attributes of the form element. See the FORM element definition in HTML 4.0.

UNKNOWN: The FORM element encompasses behavior similar to a collection and an element.

Constructor Summary
protected HTMLFormElement(Class dummy)
HTMLFormElement()
HTMLFormElement(HTMLFormElement other)
HTMLFormElement(Node other)
Method Summary
StringacceptCharset()
List of character sets supported by the server.
Stringaction()
Server-side form handler.
HTMLCollectionelements()
Returns a collection of all control elements in the form.
Stringenctype()
The content type of the submitted form, generally "application/x-www-form-urlencoded".
longlength()
The number of form controls in the form.
Stringmethod()
HTTP method used to submit form.
Stringname()
Names the form.
voidreset()
Restores a form element's default values.
voidsetAcceptCharset(String arg1)
see acceptCharset
voidsetAction(String arg1)
see action
voidsetEnctype(String arg1)
see enctype
voidsetMethod(String arg1)
see method
voidsetName(String arg1)
see name
voidsetTarget(String arg1)
see target
voidsubmit()
Submits the form.
Stringtarget()
Frame to render the resource in.

Constructor Detail

HTMLFormElement

protected HTMLFormElement(Class dummy)

HTMLFormElement

public HTMLFormElement()

HTMLFormElement

public HTMLFormElement(HTMLFormElement other)

HTMLFormElement

public HTMLFormElement(Node other)

Method Detail

acceptCharset

public String acceptCharset()
List of character sets supported by the server. See the accept-charset attribute definition in HTML 4.0.

UNKNOWN: List of character sets supported by the server.

action

public String action()
Server-side form handler. See the action attribute definition in HTML 4.0.

UNKNOWN: Server-side form handler.

elements

public HTMLCollection elements()
Returns a collection of all control elements in the form.

UNKNOWN: Returns a collection of all control elements in the form.

enctype

public String enctype()
The content type of the submitted form, generally "application/x-www-form-urlencoded". See the enctype attribute definition in HTML 4.0.

UNKNOWN: The content type of the submitted form, generally "application/x-www-form-urlencoded".

length

public long length()
The number of form controls in the form.

UNKNOWN: The number of form controls in the form.

method

public String method()
HTTP method used to submit form. See the method attribute definition in HTML 4.0.

UNKNOWN: HTTP method used to submit form.

name

public String name()
Names the form.

UNKNOWN: Names the form.

reset

public void reset()
Restores a form element's default values. It performs the same action as a reset button.

UNKNOWN: Restores a form element's default values.

setAcceptCharset

public void setAcceptCharset(String arg1)
see acceptCharset

UNKNOWN: see acceptCharset

setAction

public void setAction(String arg1)
see action

UNKNOWN: see action

setEnctype

public void setEnctype(String arg1)
see enctype

UNKNOWN: see enctype

setMethod

public void setMethod(String arg1)
see method

UNKNOWN: see method

setName

public void setName(String arg1)
see name

UNKNOWN: see name

setTarget

public void setTarget(String arg1)
see target

UNKNOWN: see target

submit

public void submit()
Submits the form. It performs the same action as a submit button.

UNKNOWN: Submits the form.

target

public String target()
Frame to render the resource in. See the target attribute definition in HTML 4.0.

UNKNOWN: Frame to render the resource in.