public int getGridColumn(int column, int row) { return table.getGridColumn(row, column); }
public int getGridColumn(int col, int row) { return table.getGridColumn(fromColumn + col, fromRow + row); }
public int getGridColumn(int col, int row) { return table.getGridColumn(fromColumn + col, fromRow + row); }
public int getGridColumn(int column, int row) { return table.getGridColumn(getColumn(column, row), getRow(column, row)); }
public GridTableCell(int column, int row, IGridTable table) { this.column = column; this.row = row; this.table = table; int gridColumn = table.getGridColumn(column, row); int gridRow = table.getGridRow(column, row); this.cell = table.getGrid().getCell(gridColumn, gridRow); }
public GridLocation(IGridTable table) { int width = table.getWidth(); int height = table.getHeight(); start = new GridPosition(table.getGridColumn(0, 0), table.getGridRow(0, 0), table.getGrid()); end = new GridPosition(table.getGridColumn(width - 1, height - 1), table.getGridRow(width - 1, height - 1), table.getGrid()); }
public TableValueFilter(final SpreadsheetResult res) { this.res = res; ILogicalTable table = res.getLogicalTable(); IGridTable t = table.getSource(); this.startX = t.getGridColumn(0, 0) + table.getColumn(0).getSource().getWidth(); this.startY = t.getGridRow(0, 0) + table.getRow(0).getSource().getHeight(); }
public TableValueFilter(final SpreadsheetResult res) { this.res = res; ILogicalTable table = res.getLogicalTable(); IGridTable t = table.getSource(); this.startX = t.getGridColumn(0, 0) + table.getColumn(0).getSource().getWidth(); this.startY = t.getGridRow(0, 0) + table.getRow(0).getSource().getHeight(); }
public IGridTable convertTable(ILogicalTable table) throws OpenLCompilationException { ILogicalTable headerRow = table.getRow(HEADER_ROW); int firstLookupColumn = findFirstLookupColumn(headerRow); loadHorizConditionsAndReturnColumns(headerRow, firstLookupColumn); validateLookupSection(); IGridRegion displayRowRegion = getDisplayRowRegion(table); int firstLookupGridColumn = headerRow.getColumn(firstLookupColumn).getSource().getGridColumn(0, 0); IGrid grid = table.getSource().getGrid(); processHorizConditionsHeaders(displayRowRegion, firstLookupGridColumn, grid); IGridTable lookupValuesTable = getLookupValuesTable(table, firstLookupGridColumn, grid); Integer lookupValuesTableHeight = getlookupValuesTableHeight(table, firstLookupGridColumn, grid); isMultiplier(lookupValuesTable); CoordinatesTransformer transformer = getTransformer(headerRow, table, lookupValuesTable, lookupValuesTableHeight); return new TransformedGridTable(table.getSource(), transformer); }