edu.rice.cs.util.docnavigation
Interface IDocumentNavigatorFactory<ItemT extends INavigatorItem>

All Known Implementing Classes:
AWTContainerNavigatorFactory

public interface IDocumentNavigatorFactory<ItemT extends INavigatorItem>

Factory that produces bbjects that implement IDocumentNavigator.


Method Summary
 IDocumentNavigator<ItemT> makeListNavigator()
          Creates a new List Navigator
 IDocumentNavigator<ItemT> makeListNavigator(IDocumentNavigator<ItemT> parent)
          Creates a list navigator and migrates the navigator items from parent to the new navigator
 IDocumentNavigator<ItemT> makeTreeNavigator(String name)
          Returns a new tree Navigator with the specified root
 IDocumentNavigator<ItemT> makeTreeNavigator(String name, IDocumentNavigator<ItemT> parent, List<Pair<String,INavigatorItemFilter<ItemT>>> l)
          Creates a tree navigator and migrates the navigator items from the parent to the new navigator
 

Method Detail

makeListNavigator

IDocumentNavigator<ItemT> makeListNavigator()
Creates a new List Navigator

Returns:
a list navigator

makeTreeNavigator

IDocumentNavigator<ItemT> makeTreeNavigator(String name)
Returns a new tree Navigator with the specified root

Parameters:
name - the name of the root node
Returns:
a tree navigator

makeListNavigator

IDocumentNavigator<ItemT> makeListNavigator(IDocumentNavigator<ItemT> parent)
Creates a list navigator and migrates the navigator items from parent to the new navigator

Parameters:
parent - the navigator to migrate from
Returns:
the new list navigator

makeTreeNavigator

IDocumentNavigator<ItemT> makeTreeNavigator(String name,
                                            IDocumentNavigator<ItemT> parent,
                                            List<Pair<String,INavigatorItemFilter<ItemT>>> l)
Creates a tree navigator and migrates the navigator items from the parent to the new navigator

Parameters:
name - the name of the root node
parent - the navigator to migrate from
Returns:
the new tree navigator