Class HTMLOptionElementImpl

  • All Implemented Interfaces:
    java.lang.Cloneable, org.w3c.dom.Element, org.w3c.dom.events.EventTarget, org.w3c.dom.html.HTMLElement, org.w3c.dom.html.HTMLOptionElement, org.w3c.dom.Node, org.w3c.dom.NodeList, org.w3c.dom.TypeInfo

    public class HTMLOptionElementImpl
    extends HTMLElementImpl
    implements org.w3c.dom.html.HTMLOptionElement
    See Also:
    HTMLOptionElement, ElementImpl
    • Constructor Detail

      • HTMLOptionElementImpl

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

      • 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 java.lang.String getText()
        Specified by:
        getText in interface org.w3c.dom.html.HTMLOptionElement
      • getIndex

        public int getIndex()
        Specified by:
        getIndex in interface org.w3c.dom.html.HTMLOptionElement
      • 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 java.lang.String getLabel()
        Specified by:
        getLabel in interface org.w3c.dom.html.HTMLOptionElement
      • setLabel

        public void setLabel​(java.lang.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 java.lang.String getValue()
        Specified by:
        getValue in interface org.w3c.dom.html.HTMLOptionElement
      • setValue

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