Tom Molesworth > Tickit-Widget-Table-0.003 > Tickit::Widget::Table::Cell

Download:
Tickit-Widget-Table-0.003.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  1
Open  1
View/Report Bugs
Module Version: 0.003   Source  

NAME ^

Tickit::Widget::Table::Cell - cells in a Tickit::Widget::Table.

VERSION ^

version 0.003

DESCRIPTION ^

Not intended for direct use - see Tickit::Widget::Table.

METHODS ^

cols

Delegates to the Tickit::Widget::Column which should have a better idea of the total columns for this cell.

display_xpos

Left position to start writing text at.

window_gained

Pass our window on to the child widget if we have one.

window_lost

Remove the child widget window.

render

Either render through the parent class or delegate to our widget.

display_value

Value to use when displaying this cell. Probably the text content.

display_width

Returns the number of columns our current value will require.

column

Accessor for the Tickit::Widget::Table::Column this cell resides in.

row

Accessor for the Tickit::Widget::Table::Row this cell resides in.

table

Accessor for the Tickit::Widget::Table this cell resides in.

new

Instantiate a new cell.

Takes the following named parameters:

Returns the new cell.

set_table

Change the Tickit::Widget::Table for this cell.

Returns $self.

set_column

Change the Tickit::Widget::Table::Column for this cell.

Returns $self.

set_row

Change the Tickit::Widget::Table::Row for this cell.

Returns $self.

action

Accessor/mutator for the action that should be performed when this cell is activated. This would be by way of being a coderef.

AUTHOR ^

Tom Molesworth <cpan@entitymodel.com>

LICENSE ^

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

syntax highlighting: