Interface ITableColumnsInfo
- All Known Implementing Classes:
TableContext
public interface ITableColumnsInfo
Used to get information about tables, for example when handling nested tables.
This work was authored by Bertrand Delacretaz (bdelacretaz@codeconsult.ch).
-
Field Summary
Modifier and TypeFieldDescriptionstatic final float
value for invalid column width -
Method Summary
Modifier and TypeMethodDescriptionint
float
get current column width according to column iteration indexboolean
int
void
reset the column iteration index, meant to be called when creating a new rowvoid
increment the column iteration index
-
Field Details
-
INVALID_COLUMN_WIDTH
static final float INVALID_COLUMN_WIDTHvalue for invalid column width- See Also:
-
-
Method Details
-
selectFirstColumn
void selectFirstColumn()reset the column iteration index, meant to be called when creating a new row -
selectNextColumn
void selectNextColumn()increment the column iteration index -
getColumnWidth
float getColumnWidth()get current column width according to column iteration index- Returns:
- INVALID_COLUMN_WIDTH if we cannot find the value
-
getColumnIndex
int getColumnIndex()- Returns:
- current column iteration index
-
getNumberOfColumns
int getNumberOfColumns()- Returns:
- number of columns
-
getFirstSpanningCol
boolean getFirstSpanningCol()- Returns:
- true, if it's the first of multiple spanning columns
-