//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
}
