Class TableRowElement

    • Constructor Detail

      • TableRowElement

        protected TableRowElement()
    • Method Detail

      • as

        public static TableRowElement as​(Element elem)
        Assert that the given Element is compatible with this class and automatically typecast it.
      • is

        public static boolean is​(JavaScriptObject o)
        Determines whether the given JavaScriptObject can be cast to this class. A null object will cause this method to return false.
      • is

        public static boolean is​(Node node)
        Determine whether the given Node can be cast to this class. A null node will cause this method to return false.
      • is

        public static boolean is​(Element elem)
        Determine whether the given Element can be cast to this class. A null node will cause this method to return false.
      • deleteCell

        public final void deleteCell​(int index)
        Delete a cell from the current row.
        See Also:
        W3C HTML Specification
      • getAlign

        public final java.lang.String getAlign()
        Horizontal alignment of data within cells of this row.
        See Also:
        W3C HTML Specification
      • getCh

        public final java.lang.String getCh()
        Alignment character for cells in a column.
        See Also:
        W3C HTML Specification
      • getChOff

        public final java.lang.String getChOff()
        Offset of alignment character.
        See Also:
        W3C HTML Specification
      • getRowIndex

        public final int getRowIndex()
        This is in logical order and not in document order. The rowIndex does take into account sections (THEAD, TFOOT, or TBODY) within the table, placing THEAD rows first in the index, followed by TBODY rows, followed by TFOOT rows.
      • getSectionRowIndex

        public final int getSectionRowIndex()
        The index of this row, relative to the current section (THEAD, TFOOT, or TBODY), starting from 0.
      • getVAlign

        public final java.lang.String getVAlign()
        Vertical alignment of data within cells of this row.
        See Also:
        W3C HTML Specification
      • insertCell

        public final TableCellElement insertCell​(int index)
        Insert an empty TD cell into this row. If index is -1 or equal to the number of cells, the new cell is appended.
        See Also:
        W3C HTML Specification
      • setAlign

        public final void setAlign​(java.lang.String align)
        Horizontal alignment of data within cells of this row.
        See Also:
        W3C HTML Specification
      • setCh

        public final void setCh​(java.lang.String ch)
        Alignment character for cells in a column.
        See Also:
        W3C HTML Specification
      • setChOff

        public final void setChOff​(java.lang.String chOff)
        Offset of alignment character.
        See Also:
        W3C HTML Specification
      • setVAlign

        public final void setVAlign​(java.lang.String vAlign)
        Vertical alignment of data within cells of this row.
        See Also:
        W3C HTML Specification