Class representing a column in a table layout.
More...
#include <TableLayout.hpp>
Class representing a column in a table layout.
Definition at line 101 of file TableLayout.hpp.
◆ Column()
Constructor to initialize a column with a specific CellLayout
.
- Parameters
-
cellLayout | The CellLayout object to initialize the column. |
◆ addSubColumns() [1/3]
Adds multiple sub-columns to the column.
- Parameters
-
subColName | A list of sub-column names to add. |
- Returns
- The current column object
◆ addSubColumns() [2/3]
Adds multiple sub-columns to the column.
- Parameters
-
subCol | A list of sub-column names to add. |
- Returns
- The current column object
◆ addSubColumns() [3/3]
Adds a single sub-column to the column.
- Parameters
-
subColName | The name of the sub-column to add. |
- Returns
- The current column object.
◆ getNextCell()
Column* geos::TableLayout::Column::getNextCell |
( |
| ) |
|
|
inline |
GGet the next column in the layout.
- Returns
- Pointer to the next column or
nullptr
if no next column exists.
Definition at line 142 of file TableLayout.hpp.
◆ getNumberCellMerge()
size_t geos::TableLayout::Column::getNumberCellMerge |
( |
| ) |
|
|
inline |
- Returns
- number of times we will divide the current cell
Definition at line 204 of file TableLayout.hpp.
◆ getParent()
Column* geos::TableLayout::Column::getParent |
( |
| ) |
|
|
inline |
Get the parent column.
- Returns
- Pointer to the parent column, or
nullptr
if no parent is set.
Definition at line 128 of file TableLayout.hpp.
◆ hasChild()
bool geos::TableLayout::Column::hasChild |
( |
| ) |
const |
|
inline |
Checks if the column has any child columns.
- Returns
- bool True if the column has child columns, otherwise false.
Definition at line 224 of file TableLayout.hpp.
◆ hasParent()
bool geos::TableLayout::Column::hasParent |
( |
| ) |
const |
|
inline |
Checks if the column has a parent column.
- Returns
- bool True if the column has a parent, otherwise false.
Definition at line 231 of file TableLayout.hpp.
◆ incrementMergeHeaderCount()
void geos::TableLayout::Column::incrementMergeHeaderCount |
( |
size_t |
value | ) |
|
|
inline |
Increment number of times we will divide the current cell.
- Parameters
-
value | number of division to add |
Definition at line 211 of file TableLayout.hpp.
◆ setHeaderAlignment()
Sets the header alignment for the column.
- Parameters
-
headerAlignment | The alignment to set for the column header (left, right, or center). |
- Returns
- The current column object
◆ setName()
Sets the name of the column.
- Parameters
-
name | The name to set for the column. |
- Returns
- The current column object.
◆ setNextCell()
void geos::TableLayout::Column::setNextCell |
( |
Column * |
nextCell | ) |
|
|
inline |
Set the next column in the layout.
- Parameters
-
nextCell | The next column in the table layout. |
Definition at line 149 of file TableLayout.hpp.
◆ setParent()
void geos::TableLayout::Column::setParent |
( |
Column * |
parent | ) |
|
|
inline |
Set the parent column.
- Parameters
-
parent | Pointer to the parent column to set. |
Definition at line 135 of file TableLayout.hpp.
◆ setValuesAlignment()
Sets the values alignment for the column.
- Parameters
-
valueAlignment | The alignment to set for the column values (left, right, or center). |
- Returns
- The current column object
◆ setVisibility()
Set the column visibility.
- Parameters
-
celltype | Cell type to apply to hide the colmun |
- Returns
- The current column .
The documentation for this class was generated from the following file: