edu.rice.cs.util.docnavigation
Class AWTContainerNavigatorFactory<ItemT extends INavigatorItem>

java.lang.Object
  extended by edu.rice.cs.util.docnavigation.AWTContainerNavigatorFactory<ItemT>
All Implemented Interfaces:
IDocumentNavigatorFactory<ItemT>

public class AWTContainerNavigatorFactory<ItemT extends INavigatorItem>
extends Object
implements IDocumentNavigatorFactory<ItemT>


Constructor Summary
AWTContainerNavigatorFactory()
           
 
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 path)
          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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AWTContainerNavigatorFactory

public AWTContainerNavigatorFactory()
Method Detail

makeListNavigator

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

Specified by:
makeListNavigator in interface IDocumentNavigatorFactory<ItemT extends INavigatorItem>
Returns:
a list navigator

makeTreeNavigator

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

Specified by:
makeTreeNavigator in interface IDocumentNavigatorFactory<ItemT extends INavigatorItem>
Parameters:
path - the path name of the root node
Returns:
a tree navigator

makeListNavigator

public IDocumentNavigator<ItemT> makeListNavigator(IDocumentNavigator<ItemT> parent)
Creates a list navigator and migrates the navigator items from parent to the new navigator. The migration is asynchronous but it completes before any subsequent computation in the event thread.

Specified by:
makeListNavigator in interface IDocumentNavigatorFactory<ItemT extends INavigatorItem>
Parameters:
parent - the navigator to migrate from
Returns:
the new list navigator

makeTreeNavigator

public 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. The migration is asynchronous but it completes before any subsequent computation in the event thread.

Specified by:
makeTreeNavigator in interface IDocumentNavigatorFactory<ItemT extends INavigatorItem>
Parameters:
name - the name of the root node
parent - the navigator to migrate from
Returns:
the new tree navigator