Class HtmlTableCell

    • Constructor Detail

      • HtmlTableCell

        protected HtmlTableCell​(java.lang.String qualifiedName,
                                SgmlPage page,
                                java.util.Map<java.lang.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 Detail

      • getColumnSpan

        public int getColumnSpan()
        Returns the value of the colspan attribute, or 1 if the attribute wasn't specified.
        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.
        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