Tree::Simple::View::DHTML 0.16
Sponsored Links
Tree::Simple::View::DHTML 0.16 Ranking & Summary
File size:
0.022 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
797
Date added:
2007-08-21
Publisher:
Stevan Little
Tree::Simple::View::DHTML 0.16 description
Tree::Simple::View::DHTML is a Perl class for viewing Tree::Simple hierarchies in DHTML.
SYNOPSIS
use Tree::Simple::View::DHTML;
## a simple example
# use the defaults (an unordered list with no CSS)
my $tree_view = Tree::Simple::View::DHTML->new($tree);
## more complex examples
# using the CSS properties
my $tree_view = Tree::Simple::View::DHTML->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",
link_css => "text-decoration: none;"
));
# using the CSS classes
my $tree_view = Tree::Simple::View::DHTML->new($tree => (
list_css_class => "myListClass",
list_item_css_class => "myListItemClass",
expanded_item_css_class => "myExpandedListItemClass",
link_css_class => "myListItemLinkClass"
));
# mixing the CSS properties and CSS classes
my $tree_view = Tree::Simple::View::DHTML->new($tree => (
list_css => "list-style: circle;",
list_item_css => "font-family: courier;",
expanded_item_css_class => "myExpandedListItemClass",
link_css_class => "myListItemLinkClass"
# format complex nodes with a function
node_formatter => sub {
my ($tree) = @_;
return "" . $tree->getNodeValue()->description() . "";
},
# add a radio button element to the tree
# with the name of tree_id
radio_button => tree_id
));
# print out the javascript nessecary for the DHTML
# functionality of this tree
print $tree_view->javascript();
# 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::DHTML;
## a simple example
# use the defaults (an unordered list with no CSS)
my $tree_view = Tree::Simple::View::DHTML->new($tree);
## more complex examples
# using the CSS properties
my $tree_view = Tree::Simple::View::DHTML->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",
link_css => "text-decoration: none;"
));
# using the CSS classes
my $tree_view = Tree::Simple::View::DHTML->new($tree => (
list_css_class => "myListClass",
list_item_css_class => "myListItemClass",
expanded_item_css_class => "myExpandedListItemClass",
link_css_class => "myListItemLinkClass"
));
# mixing the CSS properties and CSS classes
my $tree_view = Tree::Simple::View::DHTML->new($tree => (
list_css => "list-style: circle;",
list_item_css => "font-family: courier;",
expanded_item_css_class => "myExpandedListItemClass",
link_css_class => "myListItemLinkClass"
# format complex nodes with a function
node_formatter => sub {
my ($tree) = @_;
return "" . $tree->getNodeValue()->description() . "";
},
# add a radio button element to the tree
# with the name of tree_id
radio_button => tree_id
));
# print out the javascript nessecary for the DHTML
# functionality of this tree
print $tree_view->javascript();
# 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::DHTML 0.16 Screenshot
Advertisements
Tree::Simple::View::DHTML 0.16 Keywords
DHTML
CSS
DHTML 0.16
Perl class
tree
class
list
print
item
expanded
Tree::Simple::View::DHTML
TreeSimpleViewDHTML
Tree::Simple::View::DHTML 0.16
Libraries
Programming
Bookmark Tree::Simple::View::DHTML 0.16
Tree::Simple::View::DHTML 0.16 Copyright
WareSeeker periodically updates pricing and software information of Tree::Simple::View::DHTML 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::DHTML 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::HTML is a Perl class for viewing Tree::Simple hierarchies in HTML. Free Download
Tree::PseudoIncLib is a Perl class for encapsulating a description of pseudo-INC array. Free Download
Tree::Numbered is a thin N-ary tree structure with a unique number for each item. Free Download
XML::Simple::Tree is a tree object extension for XML::Simple data structures. Free Download
Gnome Specimen project is a simple tool to view and compare fonts installed on your system. Free Download
libplis is library for Perl-like string manipulation for C++. Free Download
Gourmet Recipe Manager is a simple but powerful recipe managing application that is intended for the GNOME desktop environment. Free Download
XML::Schema::Type::Simple is a base class for simple XML Schema datatypes. Free Download
Latest Software
Popular Software
Favourite Software