⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 menu.java

📁 这个weblogging 设计得比较精巧
💻 JAVA
字号:
package org.roller.presentation.tags.menu;import org.roller.RollerException;import javax.servlet.http.HttpServletRequest;/** An individual menu which contains MenuItems */ public interface Menu {	/** Name of Menu */	public String getName();	/** Collection of MenuItem objects contained in this menu */	public java.util.Vector getMenuItems();	/** Determine if this menu is selected based on request */	public boolean isSelected( HttpServletRequest req ) throws RollerException;	/** Get currently selected menu item in this menu */	public MenuItem getSelectedMenuItem( HttpServletRequest req ) throws RollerException;    /** Url to be displayed in menu */     public String getUrl( javax.servlet.jsp.PageContext pctx );        /** Is user principal permitted to use this menu? */     public boolean isPermitted( HttpServletRequest req ) throws RollerException;        /** Set roles allowed to use this menu (comma separated list). */     public void setRoles( String roles );    /** Name of true/false configuration property that enables this menu */     public void setEnabledProperty( String enabledProperty );    /** Name of true/false configuration property that disables this menu */     public void setDisabledProperty( String disabledProperty );}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -