Class HTMLSelectElementImpl

java.lang.Object
org.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.html.dom.HTMLElementImpl
org.apache.html.dom.HTMLSelectElementImpl
All Implemented Interfaces:
Serializable, Cloneable, HTMLFormControl, Element, ElementTraversal, EventTarget, org.w3c.dom.html.HTMLElement, org.w3c.dom.html.HTMLSelectElement, Node, NodeList, TypeInfo

public class HTMLSelectElementImpl extends HTMLElementImpl implements org.w3c.dom.html.HTMLSelectElement, HTMLFormControl

INTERNAL:

Usage of this class is not supported. It may be altered or removed at any time.
Version:
$Revision: 1029415 $ $Date: 2010-10-31 22:32:22 +0530 (Sun, 31 Oct 2010) $
Author:
Assaf Arkin
See Also:
  • Constructor Details

    • HTMLSelectElementImpl

      public HTMLSelectElementImpl(HTMLDocumentImpl owner, String name)
      Constructor requires owner document.
      Parameters:
      owner - The owner HTML document
  • Method Details

    • getType

      public String getType()
      Specified by:
      getType in interface org.w3c.dom.html.HTMLSelectElement
    • getValue

      public String getValue()
      Specified by:
      getValue in interface org.w3c.dom.html.HTMLSelectElement
    • setValue

      public void setValue(String value)
      Specified by:
      setValue in interface org.w3c.dom.html.HTMLSelectElement
    • getSelectedIndex

      public int getSelectedIndex()
      Specified by:
      getSelectedIndex in interface org.w3c.dom.html.HTMLSelectElement
    • setSelectedIndex

      public void setSelectedIndex(int selectedIndex)
      Specified by:
      setSelectedIndex in interface org.w3c.dom.html.HTMLSelectElement
    • getOptions

      public org.w3c.dom.html.HTMLCollection getOptions()
      Specified by:
      getOptions in interface org.w3c.dom.html.HTMLSelectElement
    • getLength

      public int getLength()
      Description copied from class: org.apache.xerces.dom.ParentNode
      NodeList method: Count the immediate children of this node
      Specified by:
      getLength in interface org.w3c.dom.html.HTMLSelectElement
      Specified by:
      getLength in interface NodeList
      Overrides:
      getLength in class org.apache.xerces.dom.ParentNode
      Returns:
      int
      See Also:
      • ParentNode
    • getDisabled

      public boolean getDisabled()
      Specified by:
      getDisabled in interface org.w3c.dom.html.HTMLSelectElement
    • setDisabled

      public void setDisabled(boolean disabled)
      Specified by:
      setDisabled in interface org.w3c.dom.html.HTMLSelectElement
    • getMultiple

      public boolean getMultiple()
      Specified by:
      getMultiple in interface org.w3c.dom.html.HTMLSelectElement
    • setMultiple

      public void setMultiple(boolean multiple)
      Specified by:
      setMultiple in interface org.w3c.dom.html.HTMLSelectElement
    • getName

      public String getName()
      Specified by:
      getName in interface org.w3c.dom.html.HTMLSelectElement
    • setName

      public void setName(String name)
      Specified by:
      setName in interface org.w3c.dom.html.HTMLSelectElement
    • getSize

      public int getSize()
      Specified by:
      getSize in interface org.w3c.dom.html.HTMLSelectElement
    • setSize

      public void setSize(int size)
      Specified by:
      setSize in interface org.w3c.dom.html.HTMLSelectElement
    • getTabIndex

      public int getTabIndex()
      Specified by:
      getTabIndex in interface org.w3c.dom.html.HTMLSelectElement
    • setTabIndex

      public void setTabIndex(int tabIndex)
      Specified by:
      setTabIndex in interface org.w3c.dom.html.HTMLSelectElement
    • add

      public void add(org.w3c.dom.html.HTMLElement element, org.w3c.dom.html.HTMLElement before)
      Specified by:
      add in interface org.w3c.dom.html.HTMLSelectElement
    • remove

      public void remove(int index)
      Specified by:
      remove in interface org.w3c.dom.html.HTMLSelectElement
    • blur

      public void blur()
      Specified by:
      blur in interface org.w3c.dom.html.HTMLSelectElement
    • focus

      public void focus()
      Specified by:
      focus in interface org.w3c.dom.html.HTMLSelectElement
    • getChildNodes

      public NodeList getChildNodes()
      Explicit implementation of getChildNodes() to avoid problems with overriding the getLength() method hidden in the super class.
      Specified by:
      getChildNodes in interface Node
      Overrides:
      getChildNodes in class org.apache.xerces.dom.ParentNode
    • cloneNode

      public Node cloneNode(boolean deep)
      Explicit implementation of cloneNode() to ensure that cache used for getOptions() gets cleared.
      Specified by:
      cloneNode in interface Node
      Overrides:
      cloneNode in class org.apache.xerces.dom.ElementImpl
      See Also: