blob: be44305cf4dba2afa0ac9c5303f58f8a9dbc3c17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
//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
}
|