Class HtmlTableRow

All Implemented Interfaces:
Serializable, Cloneable, Element, Node

public class HtmlTableRow extends HtmlElement
Wrapper for the HTML element "tr".
See Also:
  • Field Details

  • Method Details

    • getCellIterator

      public HtmlTableRow.CellIterator getCellIterator()
      Returns:
      an Iterator over the all HtmlTableCell objects in this row
    • getCells

      public List<HtmlTableCell> getCells()
      Returns:
      an immutable list containing all the HtmlTableCells held by this object
      See Also:
    • getCell

      public HtmlTableCell getCell(int index) throws IndexOutOfBoundsException
      Parameters:
      index - the 0-based index
      Returns:
      the cell at the given index
      Throws:
      IndexOutOfBoundsException - if there is no cell at the given index
    • getAlignAttribute

      public final String getAlignAttribute()
      Returns the value of the attribute align. Refer to the HTML 4.01 documentation for details on the use of this attribute.
      Returns:
      the value of the attribute align or an empty string if that attribute isn't defined.
    • getCharAttribute

      public final String getCharAttribute()
      Returns the value of the attribute char. Refer to the HTML 4.01 documentation for details on the use of this attribute.
      Returns:
      the value of the attribute char or an empty string if that attribute isn't defined.
    • getCharoffAttribute

      public final String getCharoffAttribute()
      Returns the value of the attribute charoff. Refer to the HTML 4.01 documentation for details on the use of this attribute.
      Returns:
      the value of the attribute charoff or an empty string if that attribute isn't defined.
    • getValignAttribute

      public final String getValignAttribute()
      Returns the value of the attribute valign. Refer to the HTML 4.01 documentation for details on the use of this attribute.
      Returns:
      the value of the attribute valign or an empty string if that attribute isn't defined.
    • getEnclosingTable

      public HtmlTable getEnclosingTable()
      Gets the table containing this row.
      Returns:
      the table
    • getBgcolorAttribute

      public final String getBgcolorAttribute()
      Returns the value of the attribute bgcolor. Refer to the HTML 4.01 documentation for details on the use of this attribute.
      Returns:
      the value of the attribute bgcolor or an empty string if that attribute isn't defined.
    • getDefaultStyleDisplay

      public HtmlElement.DisplayStyle getDefaultStyleDisplay()
      INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
      Returns the default display style.
      Overrides:
      getDefaultStyleDisplay in class HtmlElement
      Returns:
      the default display style