Tree::Simple::View::HTML 0.16
Sponsored Links
Tree::Simple::View::HTML 0.16 Ranking & Summary
File size:
0.022 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
798
Date added:
2007-08-21
Publisher:
Stevan Little
Tree::Simple::View::HTML 0.16 description
Tree::Simple::View::HTML is a Perl class for viewing Tree::Simple hierarchies in HTML.
SYNOPSIS
use Tree::Simple::View::HTML;
## a simple example
# use the defaults (an unordered list with no CSS)
my $tree_view = Tree::Simple::View::HTML->new($tree);
## more complex examples
# use the CSS properties
my $tree_view = Tree::Simple::View::HTML->new($tree => (
list_type => "ordered",
list_css => "list-style: circle;",
list_item_css => "font-family: courier;",
expanded_item_css => "font-family: courier; font-weight: bold",
));
# use the CSS classes
my $tree_view = Tree::Simple::View::HTML->new($tree => (
list_css_class => "myListClass",
list_item_css_class => "myListItemClass",
expanded_item_css_class => "myExpandedListItemClass",
));
# mix the CSS properties and CSS classes
my $tree_view = Tree::Simple::View::HTML->new($tree => (
list_css => "list-style: circle;",
list_item_css => "font-family: courier;",
expanded_item_css_class => "myExpandedListItemClass",
node_formatter => sub {
my ($tree) = @_;
return "" . $tree->getNodeValue()->description() . "";
}
));
# print out the tree fully expanded
print $tree_view->expandAll();
# print out the tree expanded along a given path (see below for details)
print $tree_view->expandPath("Root", "Child", "GrandChild");
SYNOPSIS
use Tree::Simple::View::HTML;
## a simple example
# use the defaults (an unordered list with no CSS)
my $tree_view = Tree::Simple::View::HTML->new($tree);
## more complex examples
# use the CSS properties
my $tree_view = Tree::Simple::View::HTML->new($tree => (
list_type => "ordered",
list_css => "list-style: circle;",
list_item_css => "font-family: courier;",
expanded_item_css => "font-family: courier; font-weight: bold",
));
# use the CSS classes
my $tree_view = Tree::Simple::View::HTML->new($tree => (
list_css_class => "myListClass",
list_item_css_class => "myListItemClass",
expanded_item_css_class => "myExpandedListItemClass",
));
# mix the CSS properties and CSS classes
my $tree_view = Tree::Simple::View::HTML->new($tree => (
list_css => "list-style: circle;",
list_item_css => "font-family: courier;",
expanded_item_css_class => "myExpandedListItemClass",
node_formatter => sub {
my ($tree) = @_;
return "" . $tree->getNodeValue()->description() . "";
}
));
# print out the tree fully expanded
print $tree_view->expandAll();
# print out the tree expanded along a given path (see below for details)
print $tree_view->expandPath("Root", "Child", "GrandChild");
Tree::Simple::View::HTML 0.16 Screenshot
Advertisements
Tree::Simple::View::HTML 0.16 Keywords
HTML
CSS
HTML 0.16
Perl class
In HTML
tree
list
class
item
expanded
viewing
Tree::Simple::View::HTML
TreeSimpleViewHTML
Tree::Simple::View::HTML 0.16
Libraries
Programming
Bookmark Tree::Simple::View::HTML 0.16
Tree::Simple::View::HTML 0.16 Copyright
WareSeeker periodically updates pricing and software information of Tree::Simple::View::HTML 0.16 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Tree::Simple::View::HTML 0.16 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Tree::Simple::View::DHTML is a Perl class for viewing Tree::Simple hierarchies in DHTML. Free Download
Ekspos is platform independent Java image viewer program. Free Download
Simple Spreadsheet is a webbased spreadsheet program written in Javascript, HTML, CSS and PHP. Free Download
HTML::Simple is a simple, dependency free module for generating HTML (and XML). Free Download
Tree::PseudoIncLib is a Perl class for encapsulating a description of pseudo-INC array. Free Download
FrameMaker::FromHTML is a Perl class to convert HTML file to FrameMaker MIF. Free Download
PHP Date Picker Class will automatically generate the required HTML and JavaScript code. Free Download
Gnome Specimen project is a simple tool to view and compare fonts installed on your system. Free Download
Latest Software
Popular Software
Favourite Software