Class TableRow

  • All Implemented Interfaces:
    IsJSType

    @JsType(isNative=true,
            name="HTMLTableRowElement",
            namespace="<global>")
    public final class TableRow
    extends BaseHtmlElement
    Provides special properties and methods for manipulating the layout and presentation of rows in an HTML table.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • getAlign

        @JsProperty
        public String getAlign()
        Returns the alignment of the element's contents with respect to the surrounding context.
        Returns:
        the alignment of the element's contents with respect to the surrounding context
      • setAlign

        @JsProperty
        public void setAlign​(String align)
        Sets the alignment of the element's contents with respect to the surrounding context.
        Parameters:
        align - the alignment of the element's contents with respect to the surrounding context
      • getRowIndex

        @JsProperty
        public int getRowIndex()
        Returns a value which gives the logical position of the row within the entire table.
        If the row is not part of a table, returns -1.
        Returns:
        a value which gives the logical position of the row within the entire table
      • getVAlign

        @JsProperty
        public String getVAlign()
        Returns the value indicating how the content of the cell must be vertically aligned.
        Returns:
        the value indicating how the content of the cell must be vertically aligned
      • setVAlign

        @JsProperty
        public void setVAlign​(String vAlign)
        Sets the value indicating how the content of the cell must be vertically aligned.
        Parameters:
        vAlign - the value indicating how the content of the cell must be vertically aligned