KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > roller > presentation > tags > menu > MenuModel


1
2 package org.roller.presentation.tags.menu;
3 import javax.servlet.http.HttpServletRequest JavaDoc;
4
5 import org.roller.RollerException;
6
7
8 /** Menu model contains Menus */
9 public interface MenuModel
10 {
11     /** Collection of Menu objects contained in this menu model */
12     public java.util.Vector JavaDoc getMenus();
13
14     /** Return menu selected by current request or first menu.
15      * If request does not indicate a menu then first menu is returned.
16      * @throws RollerException
17      */

18     public Menu getSelectedMenu( HttpServletRequest JavaDoc req ) throws RollerException;
19 }
20
21
Popular Tags