Class HTMLOptionElementImpl

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.HTMLOptionElementImpl
All Implemented Interfaces:
Serializable, Cloneable, Element, ElementTraversal, EventTarget, org.w3c.dom.html.HTMLElement, org.w3c.dom.html.HTMLOptionElement, Node, NodeList, TypeInfo

public class HTMLOptionElementImpl extends HTMLElementImpl implements org.w3c.dom.html.HTMLOptionElement

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

    • HTMLOptionElementImpl

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

    • getDefaultSelected

      public boolean getDefaultSelected()
      Specified by:
      getDefaultSelected in interface org.w3c.dom.html.HTMLOptionElement
    • setDefaultSelected

      public void setDefaultSelected(boolean defaultSelected)
      Specified by:
      setDefaultSelected in interface org.w3c.dom.html.HTMLOptionElement
    • getText

      public String getText()
      Specified by:
      getText in interface org.w3c.dom.html.HTMLOptionElement
    • setText

      public void setText(String text)
    • getIndex

      public int getIndex()
      Specified by:
      getIndex in interface org.w3c.dom.html.HTMLOptionElement
    • setIndex

      public void setIndex(int index)
    • getDisabled

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

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

      public String getLabel()
      Specified by:
      getLabel in interface org.w3c.dom.html.HTMLOptionElement
    • setLabel

      public void setLabel(String label)
      Specified by:
      setLabel in interface org.w3c.dom.html.HTMLOptionElement
    • getSelected

      public boolean getSelected()
      Specified by:
      getSelected in interface org.w3c.dom.html.HTMLOptionElement
    • setSelected

      public void setSelected(boolean selected)
      Specified by:
      setSelected in interface org.w3c.dom.html.HTMLOptionElement
    • getValue

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

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