Class HtmlTableCell

All Implemented Interfaces:
Serializable, Cloneable, Element, Node
Direct Known Subclasses:
HtmlTableDataCell, HtmlTableHeaderCell

public abstract class HtmlTableCell extends HtmlElement
An abstract cell that provides the implementation for HtmlTableDataCell and HtmlTableHeaderCell.
See Also:
  • Constructor Details

    • HtmlTableCell

      protected HtmlTableCell(String qualifiedName, SgmlPage page, Map<String,DomAttr> attributes)
      Creates an instance.
      Parameters:
      qualifiedName - the qualified name of the element type to instantiate
      page - the page that this element is contained within
      attributes - the initial attributes
  • Method Details

    • getColumnSpan

      public int getColumnSpan()
      Returns:
      the value of the colspan attribute, or 1 if the attribute wasn't specified
    • getRowSpan

      public int getRowSpan()
      Returns:
      the value of the rowspan attribute, or 1 if the attribute wasn't specified
    • getEnclosingRow

      public HtmlTableRow getEnclosingRow()
      Returns the table row containing this cell.
      Returns:
      the table row containing this cell
    • 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