version 0.101 Tickit::Widget::Table::Highlight - highlight functionality for cells, rows and columns in a table
This is a mixin which allows various classes under Tickit::Widget::Table to provide a common interface for highlighting.
Get or set highlight status for this item.
Only one item can be highlighted at a time.
Returns true if this item is highlighted.
Returns true if this item is selected.
Get or set the action for this item. An "action" is a coderef called when the item is activated, typically by clicking or hitting enter when the item is highlighted and the table is in the appropriate highlight_mode.
Call this to trigger the appropriate activation logic.
Returns true if this instance has the ability to be highlighted.
Will be false for 'hidden' columns/rows/cells, in which case we'd expect the highlighting logic to skip right over them as if they never existed.
Tom Molesworth <email@example.com>
Copyright Tom Molesworth 2011. Licensed under the same terms as Perl itself.