Shlomi Fish > HTML-Widgets-NavMenu-1.0702 > HTML::Widgets::NavMenu::Tree::Iterator

Download:
HTML-Widgets-NavMenu-1.0702.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

HTML::Widgets::NavMenu::Tree::Iterator - an iterator for HTML.

SYNOPSIS ^

For internal use only.

METHODS ^

coords

Internal use.

stack

Internal use.

$self->top()

Retrieves the stack top item.

$self->get_new_item({'node' => $node, 'parent_item' => $parent})

Gets the new item.

$self->traverse()

Traverses the tree.

$self->get_node_from_sub()

This function can be overridden to generate a node from the sub-nodes returned by get_node_subs() in a different way than the default.

$self->find_node_by_coords($coords, $callback)

Finds a node by its coordinations.

$self->get_coords()

Returns the current coordinates of the object.

COPYRIGHT & LICENSE ^

Copyright 2006 Shlomi Fish, all rights reserved.

This program is released under the following license: MIT X11.

syntax highlighting: