blob: f9b11d4e0a08f2f334b1dcc7a6d1f98802c5396d (
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
|
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;
import org.kde.qt.Qt;
import org.kde.qt.QtSupport;
/**
The select element allows the selection of an option. The contained
options can be directly accessed through the select element as a
collection. See the <a
href="http://www.w3.org/TR/REC-html40/interact/forms.html#edef-SELECT">
SELECT element definition </a> in HTML 4.0.
@short The select element allows the selection of an option.
*/
public class HTMLSelectElement extends HTMLElement {
protected HTMLSelectElement(Class dummy){super((Class) null);}
public HTMLSelectElement() {
super((Class) null);
newHTMLSelectElement();
}
private native void newHTMLSelectElement();
public HTMLSelectElement(HTMLSelectElement other) {
super((Class) null);
newHTMLSelectElement(other);
}
private native void newHTMLSelectElement(HTMLSelectElement other);
public HTMLSelectElement(Node other) {
super((Class) null);
newHTMLSelectElement(other);
}
private native void newHTMLSelectElement(Node other);
/**
The type of control created.
@short The type of control created.
*/
public native String type();
/**
The ordinal index of the selected option. The value -1 is
returned if no element is selected. If multiple options are
selected, the index of the first selected option is returned.
@short The ordinal index of the selected option.
*/
public native long selectedIndex();
/**
see selectedIndex
@short see selectedIndex
*/
public native void setSelectedIndex(long arg1);
/**
The current form control value.
@short The current form control value.
*/
public native String value();
/**
see value
@short see value
*/
public native void setValue(String arg1);
/**
The number of options in this <code>SELECT</code> .
@short The number of options in this <code>SELECT</code> .
*/
public native long length();
/**
### KDE 4.0: remove.
@short ### KDE 4.
*/
public native HTMLFormElement formElement();
/**
The collection of <code>OPTION</code> elements contained by
this element.
@short The collection of <code>OPTION</code> elements contained by this element.
*/
public native HTMLCollection options();
/**
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);
/**
If true, multiple <code>OPTION</code> elements may be
selected in this <code>SELECT</code> . See the <a
href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-multiple">
multiple attribute definition </a> in HTML 4.0.
@short If true, multiple <code>OPTION</code> elements may be selected in this <code>SELECT</code> .
*/
public native boolean multiple();
/**
see multiple
@short see multiple
*/
public native void setMultiple(boolean 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-SELECT">
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);
/**
Number of visible rows. See the <a
href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-size-SELECT">
size attribute definition </a> in HTML 4.0.
@short Number of visible rows.
*/
public native long size();
/**
see size
@short see size
*/
public native void setSize(long 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);
/**
Add a new element to the collection of <code>OPTION</code>
elements for this <code>SELECT</code> .
@param element The element to add.
@param before The element to insert before, or 0 for the
tail of the list.
@short Add a new element to the collection of <code>OPTION</code> elements for this <code>SELECT</code> .
*/
public native void add(HTMLElement element, HTMLElement before);
/**
Remove an element from the collection of <code>OPTION</code>
elements for this <code>SELECT</code> . Does nothing if no
element has the given index.
@param index The index of the item to remove.
@short Remove an element from the collection of <code>OPTION</code> elements for this <code>SELECT</code> .
*/
public native void remove(long index);
/**
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();
// DOM::HTMLSelectElement* HTMLSelectElement(DOM::HTMLSelectElementImpl* arg1); >>>> NOT CONVERTED
}
|