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

NAME

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

VERSION

version 0.101

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_to_rb

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.

INHERITED METHODS

Tickit::Widget::Static

lines, on_mouse, set_on_click, set_text, text

Tickit::Widget

get_style_pen, get_style_text, get_style_values, key_focus_next_after, key_focus_next_before, on_pen_changed, parent, pen, redraw, reshape, resized, set_parent, set_pen, set_style, set_style_tag, set_window, style_classes, take_focus, window

Tickit::Widget::Table::Highlight

activate, can_highlight, highlighted, is_highlighted, is_selected

AUTHOR

Tom Molesworth <cpan@entitymodel.com>

LICENSE

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