Garth Sainio > Curses-UI-DelimitedTextViewer-0.10 > Curses::UI::DelimitedTextViewer

Download:
Curses-UI-DelimitedTextViewer-0.10.tar.gz

Dependencies

Annotate this POD (1)

View/Report Bugs
Module Version: 0.10   Source  

NAME Curses::UI::DelimitedTextViewer - Displays delimited files as fixed width. ^

CLASS HIERARCHY ^

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

SYNOPSIS ^

  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  => "*",
  );

DESCRIPTION ^

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

SEE ALSO ^

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

AUTHOR ^

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.

syntax highlighting: