

Curses::UI::Widget
Curses::UI::Searchable
|
+----Curses::UI::TextEditor
|
+----Curses::UI::TextViewer
|
+----Curses::UI::DelimitedTextViewer

my $editor = $screen->add(
'editor', 'DelimitedTextViewer',
-border => 1,
-padtop => 0,
-padbottom => 3,
-showlines => 0,
-sbborder => 0,
-vscrollbar => 1,
-hscrollbar => 1,
-showhardreturns => 0,
-wrapping => 0,
-text => $text,
-columnScroll => 1,
-addBlankColumns => 1,
-fieldSeparator => "*",
);

Curses::UI::DelimitedTextViewer is subclass of Curses::UI::TextViewer which allows a delimited file to be viewed on screen as a fixed width file. This class adds the following arguments to those used by Curses::UI::TextViewer:
-delimiter specifies the delimiter used in incoming data
-scrollColumn sets to 1 to scroll left and right column by column
-fieldSeparator character used to seperate one column from another, the default is a |
-addBlankColumns adds extra columns of spaces and seperators if the incoming data line did not have the maximum number of fields in it

Curses::UI, Curses::UI::TextViewer

Copyright (c) 2002 Garth Sainio. All rights reserved.
This package is free software and is provided "as is" without express or implied warranty. It may be used, redistributed and/or modified under the same terms as perl itself.