Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: org/roller/presentation/tags/menu/MenuItem.java


1   
2   package org.roller.presentation.tags.menu;
3   import javax.servlet.http.HttpServletRequest;
4   
5   /** An individual menu item, contained in a Menu */ 
6   public interface MenuItem 
7   {
8     /** Name of menu */
9     public String getName();
10  
11    /** Url to be displayed in menu */ 
12    public String getUrl( javax.servlet.jsp.PageContext pctx );
13  
14    /** Determine if this menu item is selected based on request */
15    public boolean isSelected( HttpServletRequest req );
16  
17    /** Determine if this is the default menu item with it's menu */
18    public boolean isDefault();
19  }
20