You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/kdejava/koala/org/kde/koala/HTMLFormElement.java

130 lines
4.0 KiB

//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;
import org.kde.qt.Qt;
import org.kde.qt.QtSupport;
/**
The <code>FORM</code> 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 <a
href="http://www.w3.org/TR/REC-html40/interact/forms.html#edef-FORM">
FORM element definition </a> in HTML 4.0.
@short The <code>FORM</code> element encompasses behavior similar to a collection and an element.
*/
public class HTMLFormElement extends HTMLElement {
protected HTMLFormElement(Class dummy){super((Class) null);}
public HTMLFormElement() {
super((Class) null);
newHTMLFormElement();
}
private native void newHTMLFormElement();
public HTMLFormElement(HTMLFormElement other) {
super((Class) null);
newHTMLFormElement(other);
}
private native void newHTMLFormElement(HTMLFormElement other);
public HTMLFormElement(Node other) {
super((Class) null);
newHTMLFormElement(other);
}
private native void newHTMLFormElement(Node other);
/**
Returns a collection of all control elements in the form.
@short Returns a collection of all control elements in the form.
*/
public native HTMLCollection elements();
/**
The number of form controls in the form.
@short The number of form controls in the form.
*/
public native long length();
/**
Names the form.
@short Names the form.
*/
public native String name();
/**
see name
@short see name
*/
public native void setName(String arg1);
/**
List of character sets supported by the server. See the <a
href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-accept-charset">
accept-charset attribute definition </a> in HTML 4.0.
@short List of character sets supported by the server.
*/
public native String acceptCharset();
/**
see acceptCharset
@short see acceptCharset
*/
public native void setAcceptCharset(String arg1);
/**
Server-side form handler. See the <a
href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-action">
action attribute definition </a> in HTML 4.0.
@short Server-side form handler.
*/
public native String action();
/**
see action
@short see action
*/
public native void setAction(String arg1);
/**
The content type of the submitted form, generally
"application/x-www-form-urlencoded". See the <a
href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-enctype">
enctype attribute definition </a> in HTML 4.0.
@short The content type of the submitted form, generally "application/x-www-form-urlencoded".
*/
public native String enctype();
/**
see enctype
@short see enctype
*/
public native void setEnctype(String arg1);
/**
HTTP method used to submit form. See the <a
href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-method">
method attribute definition </a> in HTML 4.0.
@short HTTP method used to submit form.
*/
public native String method();
/**
see method
@short see method
*/
public native void setMethod(String arg1);
/**
Frame to render the resource in. See the <a
href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-target">
target attribute definition </a> in HTML 4.0.
@short Frame to render the resource in.
*/
public native String target();
/**
see target
@short see target
*/
public native void setTarget(String arg1);
/**
Submits the form. It performs the same action as a submit
button.
@short Submits the form.
*/
public native void submit();
/**
Restores a form element's default values. It performs the same
action as a reset button.
@short Restores a form element's default values.
*/
public native void reset();
// DOM::HTMLFormElement* HTMLFormElement(DOM::HTMLFormElementImpl* arg1); >>>> NOT CONVERTED
}