Package org.lobobrowser.html.domimpl
Class HTMLOptionsCollectionImpl
- java.lang.Object
-
- org.lobobrowser.js.AbstractScriptableDelegate
-
- org.lobobrowser.html.domimpl.DescendentHTMLCollection
-
- org.lobobrowser.html.domimpl.HTMLOptionsCollectionImpl
-
- All Implemented Interfaces:
ScriptableDelegate
,HTMLCollection
,HTMLOptionsCollection
public class HTMLOptionsCollectionImpl extends DescendentHTMLCollection implements HTMLOptionsCollection
-
-
Field Summary
Fields Modifier and Type Field Description static NodeFilter
OPTION_FILTER
-
Constructor Summary
Constructors Constructor Description HTMLOptionsCollectionImpl(HTMLElementImpl selectElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setLength(int length)
This attribute specifies the length or size of the list.-
Methods inherited from class org.lobobrowser.html.domimpl.DescendentHTMLCollection
getLength, indexOf, item, namedItem
-
Methods inherited from class org.lobobrowser.js.AbstractScriptableDelegate
getScriptable, setScriptable
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.w3c.dom.html2.HTMLOptionsCollection
getLength, item, namedItem
-
-
-
-
Field Detail
-
OPTION_FILTER
public static final NodeFilter OPTION_FILTER
-
-
Constructor Detail
-
HTMLOptionsCollectionImpl
public HTMLOptionsCollectionImpl(HTMLElementImpl selectElement)
-
-
Method Detail
-
setLength
public void setLength(int length) throws org.w3c.dom.DOMException
Description copied from interface:HTMLOptionsCollection
This attribute specifies the length or size of the list.- Specified by:
setLength
in interfaceHTMLOptionsCollection
- Throws:
org.w3c.dom.DOMException
- NOT_SUPPORTED_ERR: if setting the length is not allowed by the implementation.
-
-