Class Table

    • Field Detail

      • m_NumCols

        protected int m_NumCols
        the number of columns in the table.
    • Constructor Detail

      • Table

        public Table​(int numCols)
        Initializes the tag.
        Parameters:
        numCols - the number of columns in the table
    • Method Detail

      • getNumCols

        public int getNumCols()
        Returns the number of columns in the table.
        Returns:
        the number of columns
      • addRow

        public AbstractComplexTag addRow​(String[] cells)
        Adds the row.
        Parameters:
        cells - the cells of the row
        Returns:
        the row element
      • addRow

        public AbstractComplexTag addRow​(String[] cells,
                                         String align,
                                         String valign)
        Adds the row.
        Parameters:
        cells - the cells of the row
        align - the horizontal alignment
        valign - the vertical alignment
        Returns:
        the row element
      • addRow

        public AbstractComplexTag addRow​(AbstractTag[] cells)
        Adds the row.
        Parameters:
        cells - the cells of the row
        Returns:
        the row element
      • addRow

        public AbstractComplexTag addRow​(AbstractTag[] cells,
                                         String align,
                                         String valign)
        Adds the row.
        Parameters:
        cells - the cells of the row
        align - the horizontal alignment
        valign - the vertical alignment
        Returns:
        the row element