The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

IWL::Table - a table widget

INHERITANCE

IWL::Object -> IWL::Widget -> IWL::Table

DESCRIPTION

The Table widget provides a container that holds rows and columns of data.

CONSTRUCTOR

IWL::Table->new ([%ARGS])

Where %ARGS is an optional hash parameter with with key-values corresponding to the attributes that a regular <table> markup would have. spacing - the cellspacing attribute, defaults to 0 padding - the cellpadding attribute, defaults to 0

METHODS

setCaption (TEXT)

Sets the caption of the table

Parameters: TEXT - the text for the caption

setSummary (TEXT)

Sets the summary of the table

Parameters: TEXT - the text for the summary

appendHeader (ROW)

Appends an array of rows to the header to the table.

Parameters: ROW - a row of IWL::Table::Rows

appendBody (ROW)

Appends an array of rows to the body to the table.

Parameters: ROW - a row of IWL::Table::Rows

appendFooter (ROW)

Appends an array of rows to the footer to the table.

Parameters: ROW - a row of IWL::Table::Rows

setHeaderStyle (STYLE)

Sets the style of the header

Parameters: STYLE - the given style, in hash format

setBodyStyle (STYLE)

Sets the style of the body

Parameters: STYLE - the given style, in hash format

setFooterStyle (STYLE)

Sets the style of the footer

Parameters: STYLE - the given style, in hash format

setAlternate (BOOL)

Sets whether the rows of the table will alternate in class

Parameters: BOOL - true if the rows should alternate

isAlternating

Returns whether the rows of the table will alternate

LICENCE AND COPYRIGHT

Copyright (c) 2006-2007 Viktor Kojouharov. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perldoc perlartistic.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 310:

You forgot a '=back' before '=head1'