Package org.openl.rules.table
Interface IGrid
-
- All Known Subinterfaces:
IWritableGrid
- All Known Implementing Classes:
AGrid,CompositeGrid,ParsedGrid,XlsSheetGridModel
public interface IGrid- Author:
- snshor The class representing absolute grid starting at 0,0
-
-
Field Summary
Fields Modifier and Type Field Description static intCELL_TYPE_BLANKstatic intCELL_TYPE_BOOLEANstatic intCELL_TYPE_ERRORstatic intCELL_TYPE_FORMULAstatic intCELL_TYPE_NUMERICstatic intCELL_TYPE_STRING
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ICellgetCell(int column, int row)intgetColumnWidth(int col)intgetMaxColumnIndex(int row)intgetMaxRowIndex()IGridRegiongetMergedRegion(int i)intgetMinColumnIndex(int row)intgetMinRowIndex()intgetNumberOfMergedRegions()StringgetRangeUri(int colStart, int rowStart, int colEnd, int rowEnd)IGridRegiongetRegionContaining(int column, int row)IGridRegiongetRegionStartingAt(int colFrom, int rowFrom)IGridTable[]getTables()StringgetUri()booleanisEmpty(int col, int row)booleanisInOneMergedRegion(int firstCellColumn, int firstCellRow, int secondCellColumn, int secondCellRow)booleanisPartOfTheMergedRegion(int col, int row)booleanisTopLeftCellInMergedRegion(int column, int row)
-
-
-
Field Detail
-
CELL_TYPE_NUMERIC
static final int CELL_TYPE_NUMERIC
- See Also:
- Constant Field Values
-
CELL_TYPE_STRING
static final int CELL_TYPE_STRING
- See Also:
- Constant Field Values
-
CELL_TYPE_FORMULA
static final int CELL_TYPE_FORMULA
- See Also:
- Constant Field Values
-
CELL_TYPE_BLANK
static final int CELL_TYPE_BLANK
- See Also:
- Constant Field Values
-
CELL_TYPE_BOOLEAN
static final int CELL_TYPE_BOOLEAN
- See Also:
- Constant Field Values
-
CELL_TYPE_ERROR
static final int CELL_TYPE_ERROR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTables
IGridTable[] getTables()
-
getCell
ICell getCell(int column, int row)
-
getColumnWidth
int getColumnWidth(int col)
-
getMaxColumnIndex
int getMaxColumnIndex(int row)
-
getMaxRowIndex
int getMaxRowIndex()
-
getMergedRegion
IGridRegion getMergedRegion(int i)
-
getMinColumnIndex
int getMinColumnIndex(int row)
-
getMinRowIndex
int getMinRowIndex()
-
getNumberOfMergedRegions
int getNumberOfMergedRegions()
-
getRangeUri
String getRangeUri(int colStart, int rowStart, int colEnd, int rowEnd)
-
getRegionStartingAt
IGridRegion getRegionStartingAt(int colFrom, int rowFrom)
-
getUri
String getUri()
-
isEmpty
boolean isEmpty(int col, int row)
-
isPartOfTheMergedRegion
boolean isPartOfTheMergedRegion(int col, int row)
-
isTopLeftCellInMergedRegion
boolean isTopLeftCellInMergedRegion(int column, int row)
-
isInOneMergedRegion
boolean isInOneMergedRegion(int firstCellColumn, int firstCellRow, int secondCellColumn, int secondCellRow)
-
getRegionContaining
IGridRegion getRegionContaining(int column, int row)
- Returns:
- Merged region containing cell specified by coordinates or
null
-
-