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/Menu.java


1   
2   package org.roller.presentation.tags.menu;
3   import javax.servlet.http.HttpServletRequest;
4   
5   /** An individual menu which contains MenuItems */ 
6   public interface Menu 
7   {
8     /** Name of Menu */
9     public String getName();
10  
11    /** Collection of MenuItem objects contained in this menu */
12    public java.util.Vector getMenuItems();
13  
14    /** Determine if this is the default menu item with it's menu */
15    public boolean isDefault();
16  
17    /** Determine if this menu is selected based on request */
18    public boolean isSelected( HttpServletRequest req );
19  
20    /** Get currently selected menu item in this menu */
21    public MenuItem getSelectedMenuItem( HttpServletRequest req );
22  
23    /** Url to be displayed in menu */ 
24    public String getUrl( javax.servlet.jsp.PageContext pctx );
25  }
26