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

NAME

Tickit::Widget::Table::Row - implementation of a table row

VERSION

version 0.003

DESCRIPTION

Implements a row. Nothing particularly exciting here, see method documentation and "DESCRIPTION" in Tickit::Widget::Table.

METHODS

new

Takes the following named parameters:

remove

Remove this row and all the cells within it.

Returns $self.

table

Accessor for the containing Tickit::Widget::Table.

selected

Get or set the selection status for this row.

cell_type

Default expected cell type for entries in this row.

Typically either Tickit::Widget::Table::Cell or Tickit::Widget::Table::HeaderCell. Overridden in the Tickit::Widget::Table::HeaderRow subclass.

add_column

Add a new column to the end of the row. You'd think that maybe there would be a way to add a column in a different position but no, raise an RT if this is a problem.

cell

Returns the cell at the given index.

reposition_cursor

Move cursor to home position.

update_style

Update the pen attributes based on the current highlight status.

Returns $self.

AUTHOR

Tom Molesworth <cpan@entitymodel.com>

LICENSE

Copyright Tom Molesworth 2011-2012. Licensed under the same terms as Perl itself.