public class LogicalTable extends ALogicalTable
ILogicalTable interface.LogicalTableHelper.logicalTable(IGridTable)
LogicalTableHelper.logicalTable(IGridTable, ILogicalTable, ILogicalTable) to correctly construct this object.| Constructor and Description |
|---|
LogicalTable(IGridTable table,
int[] columnOffset,
int[] rowOffset) |
LogicalTable(IGridTable table,
int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
int |
findColumnStart(int gridOffset)
Calculates # of the column starting exactly at gridOffset.
|
int |
findRowStart(int gridOffset)
Calculates # of the row starting exactly at gridOffset.
|
ICell |
getCell(int column,
int row) |
int[] |
getColumnOffset() |
int |
getColumnWidth(int column) |
int |
getHeight() |
int |
getRowHeight(int row) |
int[] |
getRowOffset() |
ILogicalTable |
getSubtable(int column,
int row,
int width,
int height) |
int |
getWidth() |
getColumn, getColumns, getColumns, getRow, getRows, getRows, getSource, isNormalOrientation, toString, transposepublic LogicalTable(IGridTable table, int width, int height)
public LogicalTable(IGridTable table, int[] columnOffset, int[] rowOffset)
public int getWidth()
public int getHeight()
public int findColumnStart(int gridOffset)
ILogicalTablepublic int findRowStart(int gridOffset)
ILogicalTablepublic int getColumnWidth(int column)
column - index of the columnpublic int getRowHeight(int row)
row - index of the rowpublic ILogicalTable getSubtable(int column, int row, int width, int height)
column - from which we want to take the subtable, including border.row - from which we want to take the subtable, including border.width - of the needed table.height - of the needed table.public int[] getRowOffset()
public int[] getColumnOffset()
public ICell getCell(int column, int row)
Copyright © 2004–2019 OpenL Tablets. All rights reserved.