|
libyui
3.4.2
|
Helper class for YTable for table column properties: More...
#include <YTableHeader.h>
Public Member Functions | |
| YTableHeader () | |
| Constructor. | |
| virtual | ~YTableHeader () |
| Destructor. | |
| void | addColumn (const std::string &header, YAlignmentType alignment=YAlignBegin) |
| Add a column with the specified colum header text and alignment. | |
| int | columns () const |
| Return the number of columns. | |
| bool | hasColumn (int column) const |
| Return 'true' if this table header has a column no. More... | |
| std::string | header (int column) const |
| Return the header text for the specified column. | |
| YAlignmentType | alignment (int column) const |
| Return the alignment for the specified column. | |
Helper class for YTable for table column properties:
Definition at line 43 of file YTableHeader.h.
| bool YTableHeader::hasColumn | ( | int | column | ) | const |
Return 'true' if this table header has a column no.
'column' (counting from 0 on).
Definition at line 77 of file YTableHeader.cc.