public class

HTMLSelectElementImpl

extends HTMLElementImpl
implements HTMLFormControl HTMLSelectElement
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

Class Overview

@xerces.internal

See Also

Summary

[Expand]
Inherited Constants
From class org.apache.xerces.dom.NodeImpl
From interface org.w3c.dom.Node
From interface org.w3c.dom.TypeInfo
[Expand]
Inherited Fields
From class org.apache.xerces.dom.ElementImpl
From class org.apache.xerces.dom.ParentNode
From class org.apache.xerces.dom.ChildNode
From class org.apache.xerces.dom.NodeImpl
Public Constructors
HTMLSelectElementImpl(HTMLDocumentImpl owner, String name)
Constructor requires owner document.
Public Methods
void add(HTMLElement element, HTMLElement before)
void blur()
Node cloneNode(boolean deep)
Explicit implementation of cloneNode() to ensure that cache used for getOptions() gets cleared.
void focus()
NodeList getChildNodes()
Explicit implementation of getChildNodes() to avoid problems with overriding the getLength() method hidden in the super class.
boolean getDisabled()
int getLength()
NodeList method: Count the immediate children of this node
boolean getMultiple()
String getName()
HTMLCollection getOptions()
int getSelectedIndex()
int getSize()
int getTabIndex()
String getType()
String getValue()
void remove(int index)
void setDisabled(boolean disabled)
void setMultiple(boolean multiple)
void setName(String name)
void setSelectedIndex(int selectedIndex)
void setSize(int size)
void setTabIndex(int tabIndex)
void setValue(String value)
[Expand]
Inherited Methods
From class org.apache.html.dom.HTMLElementImpl
From class org.apache.xerces.dom.ElementImpl
From class org.apache.xerces.dom.ParentNode
From class org.apache.xerces.dom.ChildNode
From class org.apache.xerces.dom.NodeImpl
From class java.lang.Object
From interface org.w3c.dom.Element
From interface org.w3c.dom.Node
From interface org.w3c.dom.NodeList
From interface org.w3c.dom.TypeInfo
From interface org.w3c.dom.events.EventTarget
From interface org.w3c.dom.html.HTMLElement
From interface org.w3c.dom.html.HTMLSelectElement

Public Constructors

public HTMLSelectElementImpl (HTMLDocumentImpl owner, String name)

Constructor requires owner document.

Parameters
owner The owner HTML document

Public Methods

public void add (HTMLElement element, HTMLElement before)

public void blur ()

public Node cloneNode (boolean deep)

Explicit implementation of cloneNode() to ensure that cache used for getOptions() gets cleared.

public void focus ()

public NodeList getChildNodes ()

Explicit implementation of getChildNodes() to avoid problems with overriding the getLength() method hidden in the super class.

public boolean getDisabled ()

public int getLength ()

NodeList method: Count the immediate children of this node

Returns
  • int

public boolean getMultiple ()

public String getName ()

public HTMLCollection getOptions ()

public int getSelectedIndex ()

public int getSize ()

public int getTabIndex ()

public String getType ()

public String getValue ()

public void remove (int index)

public void setDisabled (boolean disabled)

public void setMultiple (boolean multiple)

public void setName (String name)

public void setSelectedIndex (int selectedIndex)

public void setSize (int size)

public void setTabIndex (int tabIndex)

public void setValue (String value)