summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/org/trinitydesktop/koala/HTMLInputElement.java
blob: fc1fa1bf7d96f4f075b7589859f2a532a3bd12ee (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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.koala;

import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.QtSupport;

/**

 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 <a
 href="http://www.w3.org/TR/REC-html40/interact/forms.html#edef-INPUT">
 INPUT element definition </a> in HTML 4.0.
 		@short    Form control.

*/
public class HTMLInputElement extends HTMLElement  {
	protected HTMLInputElement(Class dummy){super((Class) null);}
	public HTMLInputElement() {
		super((Class) null);
		newHTMLInputElement();
	}
	private native void newHTMLInputElement();
	public HTMLInputElement(HTMLInputElement other) {
		super((Class) null);
		newHTMLInputElement(other);
	}
	private native void newHTMLInputElement(HTMLInputElement other);
	public HTMLInputElement(Node other) {
		super((Class) null);
		newHTMLInputElement(other);
	}
	private native void newHTMLInputElement(Node other);
	/**
		 Stores the initial control value (i.e., the initial value of
		 <code>value</code> ).
			     		@short    Stores the initial control value (i.
	*/
	public native String defaultValue();
	/**
		 see defaultValue
		     		@short    see defaultValue
	*/
	public native void setDefaultValue(String arg1);
	/**
		 When <code>type</code> has the value "Radio" or "Checkbox",
		 stores the initial value of the <code>checked</code>
		 attribute.
			     		@short    When <code>type</code> has the value "Radio" or "Checkbox",  stores the initial value of the <code>checked</code>  attribute.
	*/
	public native boolean defaultChecked();
	/**
		 see defaultChecked
		     		@short    see defaultChecked
	*/
	public native void setDefaultChecked(boolean arg1);
	/**
		 ### KDE 4.0: remove.
		     		@short    ### KDE 4.
	*/
	public native HTMLFormElement formElement();
	/**
		 A comma-separated list of content types that a server
		 processing this form will handle correctly. See the <a
		 href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-accept">
		 accept attribute definition </a> in HTML 4.0.
			     		@short    A comma-separated list of content types that a server  processing this form will handle correctly.
	*/
	public native String accept();
	/**
		 see accept
		     		@short    see accept
	*/
	public native void setAccept(String arg1);
	/**
		 A single character access key to give access to the form
		 control. See the <a
		 href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-accesskey">
		 accesskey attribute definition </a> in HTML 4.0.
			     		@short    A single character access key to give access to the form  control.
	*/
	public native String accessKey();
	/**
		 see accessKey
		     		@short    see accessKey
	*/
	public native void setAccessKey(String arg1);
	/**
		 Aligns this object (vertically or horizontally) with respect to
		 its surrounding text. See the <a
		 href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-align-IMG">
		 align attribute definition </a> in HTML 4.0. This attribute is
		 deprecated in HTML 4.0.
			     		@short    Aligns this object (vertically or horizontally) with respect to  its surrounding text.
	*/
	public native String align();
	/**
		 see align
		     		@short    see align
	*/
	public native void setAlign(String arg1);
	/**
		 Alternate text for user agents not rendering the normal content
		 of this element. See the <a
		 href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-alt">
		 alt attribute definition </a> in HTML 4.0.
			     		@short    Alternate text for user agents not rendering the normal content  of this element.
	*/
	public native String alt();
	/**
		 see alt
		     		@short    see alt
	*/
	public native void setAlt(String arg1);
	/**
		 Describes whether a radio or check box is checked, when
		 <code>type</code> 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 <a
		 href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-checked">
		 checked attribute definition </a> in HTML 4.0.
			     		@short    Describes whether a radio or check box is checked, when  <code>type</code> has the value "Radio" or "Checkbox".
	*/
	public native boolean checked();
	/**
		 see checked
		     		@short    see checked
	*/
	public native void setChecked(boolean arg1);
	/**
		 The control is unavailable in this context. See the <a
		 href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-disabled">
		 disabled attribute definition </a> in HTML 4.0.
			     		@short    The control is unavailable in this context.
	*/
	public native boolean disabled();
	/**
		 see disabled
		     		@short    see disabled
	*/
	public native void setDisabled(boolean arg1);
	/**
		 Maximum number of characters for text fields, when <code>type</code>
		 has the value "Text" or "Password". See the <a
		 href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-maxlength">
		 maxlength attribute definition </a> in HTML 4.0.
			     		@short    Maximum number of characters for text fields, when <code>type</code>  has the value "Text" or "Password".
	*/
	public native long maxLength();
	/**
		 see maxLength
		     		@short    see maxLength
	*/
	public native void setMaxLength(long arg1);
	/**
		 Form control or object name when submitted with a form. See the
		 <a
		 href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-name-INPUT">
		 name attribute definition </a> in HTML 4.0.
			     		@short    Form control or object name when submitted with a form.
	*/
	public native String name();
	/**
		 see name
		     		@short    see name
	*/
	public native void setName(String arg1);
	/**
		 This control is read-only. When <code>type</code> has the
		 value "text" or "password" only. See the <a
		 href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-readonly">
		 readonly attribute definition </a> in HTML 4.0.
			     		@short    This control is read-only.
	*/
	public native boolean readOnly();
	/**
		 see readOnly
		     		@short    see readOnly
	*/
	public native void setReadOnly(boolean arg1);
	/**
		 Size information. The precise meaning is specific to each type
		 of field. See the <a
		 href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-size-INPUT">
		 size attribute definition </a> in HTML 4.0.
			     		@short    Size information.
	*/
	public native long getSize();
	/**
		 see getSize
		     		@short    see getSize
	*/
	public native void setSize(long arg1);
	/**
		 When the <code>type</code> attribute has the value "Image",
		 this attribute specifies the location of the image to be used
		 to decorate the graphical submit button. See the <a
		 href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-src">
		 src attribute definition </a> in HTML 4.0.
			     		@short    When the <code>type</code> attribute has the value "Image",  this attribute specifies the location of the image to be used  to decorate the graphical submit button.
	*/
	public native String src();
	/**
		 see src
		     		@short    see src
	*/
	public native void setSrc(String arg1);
	/**
		 Index that represents the element's position in the tabbing
		 order. See the <a
		 href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-tabindex">
		 tabindex attribute definition </a> in HTML 4.0.
			     		@short    Index that represents the element's position in the tabbing  order.
	*/
	public native long tabIndex();
	/**
		 see tabIndex
		     		@short    see tabIndex
	*/
	public native void setTabIndex(long arg1);
	/**
		 The type of control created. See the <a
		 href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-type-INPUT">
		 type attribute definition </a> in HTML 4.0.
			     		@short    The type of control created.
	*/
	public native String type();
	/**
		 see type
		     		@short    see type
	*/
	public native void setType(String arg1);
	/**
		 Use client-side image map. See the <a
		 href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-usemap">
		 usemap attribute definition </a> in HTML 4.0.
			     		@short    Use client-side image map.
	*/
	public native String useMap();
	/**
		 see useMap
		     		@short    see useMap
	*/
	public native void setUseMap(String arg1);
	/**
		 The current form control value. Used for radio buttons and
		 check boxes. See the <a
		 href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-value-INPUT">
		 value attribute definition </a> in HTML 4.0.
			     		@short    The current form control value.
	*/
	public native String value();
	/**
		 see value
		     		@short    see value
	*/
	public native void setValue(String arg1);
	/**
		 Removes keyboard focus from this element.
			     		@short    Removes keyboard focus from this element.
	*/
	public native void blur();
	/**
		 Gives keyboard focus to this element.
			     		@short    Gives keyboard focus to this element.
	*/
	public native void focus();
	/**
		 Select the contents of the text area. For <code>INPUT</code>
		 elements whose <code>type</code> attribute has one of the
		 following values: "Text", "File", or "Password".
			     		@short    Select the contents of the text area.
	*/
	public native void select();
	/**
		 Simulate a mouse-click. For <code>INPUT</code> elements whose
		 <code>type</code> attribute has one of the following values:
		 "Button", "Checkbox", "Radio", "Reset", or "Submit".
		     		@short    Simulate a mouse-click.
	*/
	public native void click();
	// DOM::HTMLInputElement* HTMLInputElement(DOM::HTMLInputElementImpl* arg1); >>>> NOT CONVERTED
}