net.sourceforge.blogentis.utils.tools
Class NavigationListTool

java.lang.Object
  extended bynet.sourceforge.blogentis.utils.tools.NavigationListTool
All Implemented Interfaces:
org.apache.turbine.services.pull.ApplicationTool

public class NavigationListTool
extends java.lang.Object
implements org.apache.turbine.services.pull.ApplicationTool

Velocity tool to help with locating navigation lists. This is a per-request tool, keeping track of all the navigations that should be presented to the user.

Author:
abas

Nested Class Summary
static class NavigationListTool.Stripe
           
 
Field Summary
protected  java.util.List navs
           
 
Constructor Summary
NavigationListTool()
           
 
Method Summary
 java.lang.String addStripe(java.lang.String cssName, java.lang.String listName)
           
 java.lang.String addStripe(java.lang.String cssName, java.lang.String listName, java.lang.String templateName)
           
 java.util.List getNav(java.lang.String navName)
           
 java.util.List getStripes()
           
 void init(java.lang.Object data)
           
 void refresh()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

navs

protected java.util.List navs
Constructor Detail

NavigationListTool

public NavigationListTool()
Method Detail

init

public void init(java.lang.Object data)
Specified by:
init in interface org.apache.turbine.services.pull.ApplicationTool

refresh

public void refresh()
Specified by:
refresh in interface org.apache.turbine.services.pull.ApplicationTool

getNav

public java.util.List getNav(java.lang.String navName)

addStripe

public java.lang.String addStripe(java.lang.String cssName,
                                  java.lang.String listName,
                                  java.lang.String templateName)

addStripe

public java.lang.String addStripe(java.lang.String cssName,
                                  java.lang.String listName)

getStripes

public java.util.List getStripes()


Copyright © 2003-2004 SourceForge.net. All Rights Reserved.