//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.koala;

import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.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
}
