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 overriden 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.