Wt::WTableRow Class Reference

A row in a WTable. More...

#include <Wt/WTableRow>

Inheritance diagram for Wt::WTableRow:

Inheritance graph
[legend]

List of all members.

Public Member Functions

WTable * table () const
 The table to which this row belongs.
int rowNum () const
 The row number of this row in the table.
void setHeight (const WLength &height)
 Set the row height.
WLength height () const
 Get the row height.
void setStyleClass (const WString &style)
 Set the CSS style class for this row.
const WString & styleClass () const
 Get the CSS style class for this row.


Detailed Description

A row in a WTable.

A table row is not a widget -- it only has a logistic function, for managing various properties of a single row in a table.

You cannot access table cells through the row. Instead, to access table cells, see WTable::elementAt().

See also:
WTable, WTableColumn

Member Function Documentation

WTable* Wt::WTableRow::table (  )  const [inline]

The table to which this row belongs.

See also:
WTable::rowAt()

int Wt::WTableRow::rowNum (  )  const

The row number of this row in the table.

See also:
WTable::rowAt()

void Wt::WTableRow::setHeight ( const WLength &  height  ) 

Set the row height.

The default row height is 'auto' (WLength()).

See also:
height(), WWidget::resize()

WLength Wt::WTableRow::height (  )  const

Get the row height.

See also:
setHeight(const WLength&)

void Wt::WTableRow::setStyleClass ( const WString &  style  ) 

Set the CSS style class for this row.

The style is inherited by all table cells in this row.

See also:
styleClass(), WWidget::setStyleClass(const WString& style)

const WString& Wt::WTableRow::styleClass (  )  const [inline]

Get the CSS style class for this row.

See also:
styleClass(), WWidget::styleClass()


Generated on Fri Jul 25 17:56:38 2008 for Wt by doxygen 1.5.3