libyui
Public Member Functions

YTableHeader Class Reference

#include <YTableHeader.h>

List of all members.

Public Member Functions

 YTableHeader ()
virtual ~YTableHeader ()
void addColumn (const string &header, YAlignmentType alignment=YAlignBegin)
int columns () const
bool hasColumn (int column) const
string header (int column) const
YAlignmentType alignment (int column) const

Detailed Description

Helper class for YTable for table column properties:


Constructor & Destructor Documentation

YTableHeader::YTableHeader ( )

Constructor.

YTableHeader::~YTableHeader ( ) [virtual]

Destructor.


Member Function Documentation

void YTableHeader::addColumn ( const string &  header,
YAlignmentType  alignment = YAlignBegin 
)

Add a column with the specified colum header text and alignment.

YAlignmentType YTableHeader::alignment ( int  column) const

Return the alignment for the specified column.

int YTableHeader::columns ( ) const

Return the number of columns.

bool YTableHeader::hasColumn ( int  column) const

Return 'true' if this table header has a column no. 'column' (counting from 0 on).

string YTableHeader::header ( int  column) const

Return the header text for the specified column.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations Friends