Interface ITableColumnsInfo
-
- All Known Implementing Classes:
TableContext
public interface ITableColumnsInfoUsed to get information about tables, for example when handling nested tables.
This work was authored by Bertrand Delacretaz (bdelacretaz@codeconsult.ch).
-
-
Field Summary
Fields Modifier and Type Field Description static floatINVALID_COLUMN_WIDTHvalue for invalid column width
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetColumnIndex()floatgetColumnWidth()get current column width according to column iteration indexbooleangetFirstSpanningCol()intgetNumberOfColumns()voidselectFirstColumn()reset the column iteration index, meant to be called when creating a new rowvoidselectNextColumn()increment the column iteration index
-
-
-
Field Detail
-
INVALID_COLUMN_WIDTH
static final float INVALID_COLUMN_WIDTH
value for invalid column width- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
-