public class CompositeGrid extends AGrid
IGrid implementation that composes several IGridTable together.vertical flag.RANGE_SEPARATORCELL_TYPE_BLANK, CELL_TYPE_BOOLEAN, CELL_TYPE_ERROR, CELL_TYPE_FORMULA, CELL_TYPE_NUMERIC, CELL_TYPE_STRING| Constructor and Description |
|---|
CompositeGrid(IGridTable[] tables,
boolean vertical) |
| Modifier and Type | Method and Description |
|---|---|
IGridTable |
asGridTable() |
ICell |
getCell(int column,
int row) |
int |
getColumnWidth(int col) |
IGridTable[] |
getGridTables() |
int |
getHeight() |
IGridRegion |
getMappedRegion(int i) |
int |
getMaxColumnIndex(int row) |
int |
getMaxRowIndex() |
IGridRegion |
getMergedRegion(int i) |
int |
getMinColumnIndex(int row) |
int |
getMinRowIndex() |
int |
getNumberOfMergedRegions() |
String |
getRangeUri(int colStart,
int rowStart,
int colEnd,
int rowEnd)
Gets the URI to the table by its four coordinates on the sheet.
|
String |
getUri() |
int |
getWidth() |
boolean |
isEmpty(int col,
int row) |
getRegionContaining, getRegionStartingAt, getTables, isInOneMergedRegion, isPartOfTheMergedRegion, isTopLeftCellInMergedRegionpublic CompositeGrid(IGridTable[] tables, boolean vertical)
tables - Tables to be composed.vertical - see verticalpublic IGridTable[] getGridTables()
public IGridRegion getMappedRegion(int i)
public IGridTable asGridTable()
public ICell getCell(int column, int row)
public int getColumnWidth(int col)
public int getHeight()
public int getMaxColumnIndex(int row)
public int getMaxRowIndex()
public IGridRegion getMergedRegion(int i)
public int getMinColumnIndex(int row)
public int getMinRowIndex()
public int getNumberOfMergedRegions()
public String getRangeUri(int colStart, int rowStart, int colEnd, int rowEnd)
AGridgetRangeUri in interface IGridgetRangeUri in class AGridfile:D:\work\Workspace\org.openl.tablets.tutorial4\rules
\main&wbName=Tutorial_4.xls&wsName=Vehicle-Scoring&range=B3:D12)public String getUri()
public int getWidth()
public boolean isEmpty(int col,
int row)
Copyright © 2004–2019 OpenL Tablets. All rights reserved.