JavaScript is disabled on your browser.
Skip navigation links
org.htmlunit.javascript.host.html

Class HTMLTableRowElement

    • Constructor Detail

      • HTMLTableRowElement

        public HTMLTableRowElement()
    • Method Detail

      • getRowIndex

        public int getRowIndex()
        Returns the index of the row within the parent table.
        Returns:
        the index of the row within the parent table
        See Also:
        MSDN Documentation
      • getSectionRowIndex

        public int getSectionRowIndex()
        Returns the index of the row within the enclosing thead, tbody or tfoot.
        Returns:
        the index of the row within the enclosing thead, tbody or tfoot
        See Also:
        MSDN Documentation, DOM Level 1
      • getCells

        public HTMLCollection getCells()
        Returns the cells in the row.
        Returns:
        the cells in the row
      • getBgColor

        public String getBgColor()
        Returns the value of the bgColor attribute.
        Returns:
        the value of the bgColor attribute
        See Also:
        MSDN Documentation
      • setBgColor

        public void setBgColor(String bgColor)
        Sets the value of the bgColor attribute.
        Parameters:
        bgColor - the value of the bgColor attribute
        See Also:
        MSDN Documentation
      • insertCell

        public HtmlUnitScriptable insertCell(Object index)
        Inserts a new cell at the specified index in the element's cells collection. If the index is -1 or there is no index specified, then the cell is appended at the end of the element's cells collection.
        Parameters:
        index - specifies where to insert the cell in the tr. The default value is -1, which appends the new cell to the end of the cells collection
        Returns:
        the newly-created cell
        See Also:
        MSDN Documentation
      • deleteCell

        public void deleteCell(Object index)
        Deletes the cell at the specified index in the element's cells collection. If the index is -1, then the last cell is deleted.
        Parameters:
        index - specifies the cell to delete.
        See Also:
        MSDN Documentation, W3C DOM Level2
      • setOuterHTML

        public void setOuterHTML(Object value)
        Overwritten to throw an exception.
        Overrides:
        setOuterHTML in class Element
        Parameters:
        value - the new value for replacing this node
      • getAlign

        public String getAlign()
        Returns the value of the align property.
        Returns:
        the value of the align property
      • setAlign

        public void setAlign(String align)
        Sets the value of the align property.
        Parameters:
        align - the value of the align property
      • getVAlign

        public String getVAlign()
        Returns the value of the vAlign property.
        Returns:
        the value of the vAlign property
      • setVAlign

        public void setVAlign(Object vAlign)
        Sets the value of the vAlign property.
        Parameters:
        vAlign - the value of the vAlign property
      • getCh

        public String getCh()
        Returns the value of the ch property.
        Overrides:
        getCh in class HTMLElement
        Returns:
        the value of the ch property
      • setCh

        public void setCh(String ch)
        Sets the value of the ch property.
        Overrides:
        setCh in class HTMLElement
        Parameters:
        ch - the value of the ch property
      • getChOff

        public String getChOff()
        Returns the value of the chOff property.
        Overrides:
        getChOff in class HTMLElement
        Returns:
        the value of the chOff property
      • setChOff

        public void setChOff(String chOff)
        Sets the value of the chOff property.
        Overrides:
        setChOff in class HTMLElement
        Parameters:
        chOff - the value of the chOff property
Skip navigation links

Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /