=head4 additional attributes on the tree element
Handlers can be registered on the tree element,
exactly like for node elements. The only
difference is that C is then bound to
the tree element instead of the target node.
=head4 additional properties on the tree navigator object
var treeNavigator = new Tree.Navigator('myTree', {onOpen: myOpenHandler});
treeNavigator.onClose = function(event){doSomethingWith(event.target)};
Handlers can be inserted as properties on the
tree navigator object, either through options to
the constructor, or later on through ordinary
property assignments. These properties start
with the constant C followed by the
event name, but without the C prefix.
Handlers are called with a single argument,
namely the event structure described above.
=head2 Dynamic tree expansion
treeNavigator.initSubTree(subtree);
Whenever a subtree was added programmatically into the
tree, this method should be called in order to install the
navigation buttons, mouse event handlers and tabbing
behaviour. The C method expects to find
at least one C element within the
subtree.
This method is called automatically when a subtree
is dynamically fetched through the
C property.