org.lobobrowser.html.domimpl
Class HTMLOptionsCollectionImpl

java.lang.Object
  extended by org.lobobrowser.js.AbstractScriptableDelegate
      extended by org.lobobrowser.html.domimpl.DescendentHTMLCollection
          extended by org.lobobrowser.html.domimpl.HTMLOptionsCollectionImpl
All Implemented Interfaces:
ScriptableDelegate, HTMLCollection, HTMLOptionsCollection

public class HTMLOptionsCollectionImpl
extends DescendentHTMLCollection
implements HTMLOptionsCollection


Field Summary
static NodeFilter OPTION_FILTER
           
 
Constructor Summary
HTMLOptionsCollectionImpl(HTMLElementImpl selectElement)
           
 
Method Summary
 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 interface HTMLOptionsCollection
Throws:
org.w3c.dom.DOMException - NOT_SUPPORTED_ERR: if setting the length is not allowed by the implementation.