KickJava   Java API By Example, From Geeks To Geeks.

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


1
2 package org.roller.presentation.tags.menu;
3 import javax.servlet.http.HttpServletRequest JavaDoc;
4
5 /** An individual menu item, contained in a Menu */
6 public interface MenuItem
7 {
8     /** Name of menu */
9     public String JavaDoc getName();
10
11     /** Url to be displayed in menu */
12     public String JavaDoc getUrl( javax.servlet.jsp.PageContext JavaDoc pctx );
13
14     /** Determine if this menu item is selected */
15     public boolean isSelected( HttpServletRequest JavaDoc req );
16     
17     /** Name of true/false configuration property that enables this menu */
18     public void setEnabledProperty( String JavaDoc enabledProperty );
19 }
20
21
Popular Tags