summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/HTMLOptionElement.java
blob: 7aeb1f77e8901f0af372487016f8af72e467649b (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.QtSupport;

/**

 A selectable choice. See the <a
 href="http://www.w3.org/TR/REC-html40/interact/forms.html#edef-OPTION">
 OPTION element definition </a> in HTML 4.0.
 		@short    A selectable choice.

*/
public class HTMLOptionElement extends HTMLElement  {
	protected HTMLOptionElement(Class dummy){super((Class) null);}
	public HTMLOptionElement() {
		super((Class) null);
		newHTMLOptionElement();
	}
	private native void newHTMLOptionElement();
	public HTMLOptionElement(HTMLOptionElement other) {
		super((Class) null);
		newHTMLOptionElement(other);
	}
	private native void newHTMLOptionElement(HTMLOptionElement other);
	public HTMLOptionElement(Node other) {
		super((Class) null);
		newHTMLOptionElement(other);
	}
	private native void newHTMLOptionElement(Node other);
	/**	
		 ### KDE 4.0: remove
		     		@short    ### KDE 4.
	*/
	public native HTMLFormElement formElement();
	/**	
		 Stores the initial value of the <code>selected</code>
		 attribute.
			     		@short    Stores the initial value of the <code>selected</code>  attribute.
	*/
	public native boolean defaultSelected();
	/**	
		 see defaultSelected
		     		@short    see defaultSelected
	*/
	public native void setDefaultSelected(boolean arg1);
	/**	
		 The text contained within the option element.
			     		@short    The text contained within the option element.
	*/
	public native String text();
	/**	
		 The index of this <code>OPTION</code> in its parent
		 <code>SELECT</code> .
			     		@short    The index of this <code>OPTION</code> in its parent  <code>SELECT</code> .
	*/
	public native long index();
	/**	
		 see index
			 This function is obsolete - the index property is actually supposed to be read-only
		 (http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html)
		     		@short    see index
	*/
	public native void setIndex(long 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);
	/**	
		 Option label for use in hierarchical menus. See the <a
		 href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-label-OPTION">
		 label attribute definition </a> in HTML 4.0.
			     		@short    Option label for use in hierarchical menus.
	*/
	public native String label();
	/**	
		 see label
		     		@short    see label
	*/
	public native void setLabel(String arg1);
	/**	
		 Means that this option is initially selected. See the <a
		 href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-selected">
		 selected attribute definition </a> in HTML 4.0.
			     		@short    Means that this option is initially selected.
	*/
	public native boolean selected();
	/**	
		 see selected
		     		@short    see selected
	*/
	public native void setSelected(boolean arg1);
	/**	
		 The current form control value. See the <a
		 href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-value-OPTION">
		 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);
	// DOM::HTMLOptionElement* HTMLOptionElement(DOM::HTMLOptionElementImpl* arg1); >>>> NOT CONVERTED
}