Class LogicalTableHelper


  • public class LogicalTableHelper
    extends Object
    Helper class, that provides methods for creation logical tables and calculating logical columns and rows.
    • Method Detail

      • mergeBounds

        public static ILogicalTable mergeBounds​(ILogicalTable leftRows,
                                                ILogicalTable topColumns)
        This method will produce a logical table defined by 2 tables: leftRows and topColumns Both tables are logical tables. Rows in a new table will be defined by rows in leftRows table, and columns by the columns topColumns table. "Left" and "top" points to relative location of defining tables. It should be used only with "normal" orientation
        Parameters:
        leftRows -
        topColumns -
        Returns:
      • make1ColumnTable

        public static ILogicalTable make1ColumnTable​(ILogicalTable t)
        Returns:
        table with 1 column, if necessary transposed, caller is responsible to check that table is either 1xN or Nx1