Class HTMLOptionElementImpl

    • Constructor Detail

      • HTMLOptionElementImpl

        public HTMLOptionElementImpl​(HTMLDocumentImpl owner,
                                     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 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 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