Tickit::Widget::Table::Column - a column in a Ticket::Widget::Table
A column includes a single header cell, and zero or more data cells.
Instantiate a new column.
Takes the following named parameters:
Returns the new instance.
Returns the appropriate format coderef for the given string.
Currently the format can be one of:
Returns the format type for this column.
Formats the given value according to the requirements of this column's formatting settings.
Remove the given row from this column.
Attach the given header cell to this column.
Number of lines in this widget - since we draw indirectly via cells, this is left as 1.
Returns the number of (screen) columns we'd like to have.
What sort of width this is. Probably something like left|right|auto
The width for this column. Should probably return a number.
This returns the actual displayed width, i.e. the real number of (screen) columns used. I think.
Returns the current alignment setting.
Returns the current label for this column.
Change the displayed width.
Accessor for the containing Tickit::Widget::Table.
Adds a new Tickit::Widget::Cell to the end of this column.
Does nothing at all yet has a confusingly purposeful name.
Makes a wild guess as to how wide we should be then sets the displayed width accordingly.
Does nothing, for cases where we're attached to something as a real widget.
Our index in the containing Tickit::Widget::Table. Zero-based.
Updates the pen for all contained cells.
Returns a list of all contained Tickit::Widget::Cell instances.
Tom Molesworth <email@example.com>
Copyright Tom Molesworth 2011. Licensed under the same terms as Perl itself.