Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

Curses::UI::DelimitedTextViewer
Displays delimited files as fixed width.

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



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, the Curses::UI::TextViewer manpage


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.

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy