diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-01-08 20:06:00 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-01-08 20:06:00 +0100 |
commit | 636f509299122d02087c6fd62e1e4a46dbd22026 (patch) | |
tree | 70e43efceeb5b00e7f19cdac8da44928bd2fb459 /tdejava/koala/org/trinitydesktop/koala/HTMLSelectElement.java | |
parent | 719b61750c08343f530068ed4127623aeac71cf0 (diff) | |
download | tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.tar.gz tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.zip |
Rename many classes to avoid conflicts with KDE
Diffstat (limited to 'tdejava/koala/org/trinitydesktop/koala/HTMLSelectElement.java')
-rw-r--r-- | tdejava/koala/org/trinitydesktop/koala/HTMLSelectElement.java | 168 |
1 files changed, 168 insertions, 0 deletions
diff --git a/tdejava/koala/org/trinitydesktop/koala/HTMLSelectElement.java b/tdejava/koala/org/trinitydesktop/koala/HTMLSelectElement.java new file mode 100644 index 00000000..15de335a --- /dev/null +++ b/tdejava/koala/org/trinitydesktop/koala/HTMLSelectElement.java @@ -0,0 +1,168 @@ +//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 +} |