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


HTML-Widgets-NavMenu documentation  | view source Contained in the HTML-Widgets-NavMenu distribution.

Index


NAME

Top

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

SYNOPSIS

Top

For internal use only.

METHODS

Top

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

Top


HTML-Widgets-NavMenu documentation  | view source Contained in the HTML-Widgets-NavMenu distribution.