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

📄 menurepository.html

📁 sturts_menu 的源代码 主要提过了常用的menu菜单样式
💻 HTML
📖 第 1 页 / 共 3 页
字号:
 default repository specified in menu-config.xml
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>the displayers specified in this repository</DL>
</DD>
</DL>
<HR>

<A NAME="setDisplayers(org.apache.commons.collections.map.LinkedMap)"><!-- --></A><H3>
setDisplayers</H3>
<PRE>
public void <B>setDisplayers</B>(org.apache.commons.collections.map.LinkedMap&nbsp;displayers)</PRE>
<DL>
<DD>Allow the displayers to be set as a whole.  This should only be used when copying the displayers from the default repository to a newly created repository.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>displayers</CODE> - </DL>
</DD>
</DL>
<HR>

<A NAME="load()"><!-- --></A><H3>
load</H3>
<PRE>
public void <B>load</B>()
          throws <A HREF="../../../../net/sf/navigator/util/LoadableResourceException.html" title="class in net.sf.navigator.util">LoadableResourceException</A></PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/navigator/util/LoadableResource.html#load()">load</A></CODE> in interface <CODE><A HREF="../../../../net/sf/navigator/util/LoadableResource.html" title="interface in net.sf.navigator.util">LoadableResource</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/navigator/util/LoadableResourceException.html" title="class in net.sf.navigator.util">LoadableResourceException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="reload()"><!-- --></A><H3>
reload</H3>
<PRE>
public void <B>reload</B>()
            throws <A HREF="../../../../net/sf/navigator/util/LoadableResourceException.html" title="class in net.sf.navigator.util">LoadableResourceException</A></PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/navigator/util/LoadableResource.html#reload()">reload</A></CODE> in interface <CODE><A HREF="../../../../net/sf/navigator/util/LoadableResource.html" title="interface in net.sf.navigator.util">LoadableResource</A></CODE></DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../net/sf/navigator/util/LoadableResourceException.html" title="class in net.sf.navigator.util">LoadableResourceException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setLoadParam(java.lang.String)"><!-- --></A><H3>
setLoadParam</H3>
<PRE>
public void <B>setLoadParam</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;loadParam)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/navigator/util/LoadableResource.html#setLoadParam(java.lang.String)">setLoadParam</A></CODE> in interface <CODE><A HREF="../../../../net/sf/navigator/util/LoadableResource.html" title="interface in net.sf.navigator.util">LoadableResource</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getLoadParam()"><!-- --></A><H3>
getLoadParam</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getLoadParam</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/navigator/util/LoadableResource.html#getLoadParam()">getLoadParam</A></CODE> in interface <CODE><A HREF="../../../../net/sf/navigator/util/LoadableResource.html" title="interface in net.sf.navigator.util">LoadableResource</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setName(java.lang.String)"><!-- --></A><H3>
setName</H3>
<PRE>
public void <B>setName</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/navigator/util/LoadableResource.html#setName(java.lang.String)">setName</A></CODE> in interface <CODE><A HREF="../../../../net/sf/navigator/util/LoadableResource.html" title="interface in net.sf.navigator.util">LoadableResource</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getName()"><!-- --></A><H3>
getName</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getName</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/navigator/util/LoadableResource.html#getName()">getName</A></CODE> in interface <CODE><A HREF="../../../../net/sf/navigator/util/LoadableResource.html" title="interface in net.sf.navigator.util">LoadableResource</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getServletContext()"><!-- --></A><H3>
getServletContext</H3>
<PRE>
public javax.servlet.ServletContext <B>getServletContext</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/navigator/util/LoadableResource.html#getServletContext()">getServletContext</A></CODE> in interface <CODE><A HREF="../../../../net/sf/navigator/util/LoadableResource.html" title="interface in net.sf.navigator.util">LoadableResource</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setServletContext(javax.servlet.ServletContext)"><!-- --></A><H3>
setServletContext</H3>
<PRE>
public void <B>setServletContext</B>(javax.servlet.ServletContext&nbsp;context)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/navigator/util/LoadableResource.html#setServletContext(javax.servlet.ServletContext)">setServletContext</A></CODE> in interface <CODE><A HREF="../../../../net/sf/navigator/util/LoadableResource.html" title="interface in net.sf.navigator.util">LoadableResource</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getMenu(java.lang.String, java.lang.String)"><!-- --></A><H3>
getMenu</H3>
<PRE>
public <A HREF="../../../../net/sf/navigator/menu/MenuComponent.html" title="class in net.sf.navigator.menu">MenuComponent</A> <B>getMenu</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;menuName,
                             <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;delimiter)</PRE>
<DL>
<DD>Method getMenu.  Get a subMenu beneath a root or parent menu.  Will drill-down as deep as requested
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>menuName</CODE> - - e.g grandParent.parent.menu<DD><CODE>delimiter</CODE> - - e.g. '.'
<DT><B>Returns:</B><DD>MenuComponent</DL>
</DD>
</DL>
<HR>

<A NAME="getMenuDepth(java.lang.String)"><!-- --></A><H3>
getMenuDepth</H3>
<PRE>
public int <B>getMenuDepth</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;menuName)</PRE>
<DL>
<DD>Method getMenuDepth. Get the depth of the deepest sub-menu within the requested top menu
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>menuName</CODE> - - name of the top menu to check the menu depth
<DT><B>Returns:</B><DD>int.  If no menuName found return -1</DL>
</DD>
</DL>
<HR>

<A NAME="getMenuDepth()"><!-- --></A><H3>
getMenuDepth</H3>
<PRE>
public int <B>getMenuDepth</B>()</PRE>
<DL>
<DD>Method getMenuDepth. Get the depth of the deepest sub-menu throughout all menus held in the repository
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>int.  If no menus return -1.</DL>
</DD>
</DL>
<HR>

<A NAME="getTopMenusAsArray()"><!-- --></A><H3>
getTopMenusAsArray</H3>
<PRE>
public <A HREF="../../../../net/sf/navigator/menu/MenuComponent.html" title="class in net.sf.navigator.menu">MenuComponent</A>[] <B>getTopMenusAsArray</B>()</PRE>
<DL>
<DD>Method getTopMenusAsArray.  Get menus as array rather than a List
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>MenuComponent[]</DL>
</DD>
</DL>
<HR>

<A NAME="getTopMenusNames()"><!-- --></A><H3>
getTopMenusNames</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>getTopMenusNames</B>()</PRE>
<DL>
<DD>Get a List of all the top menus' names
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>List</DL>
</DD>
</DL>
<HR>

<A NAME="setBreadCrumbDelimiter(java.lang.String)"><!-- --></A><H3>
setBreadCrumbDelimiter</H3>
<PRE>
public void <B>setBreadCrumbDelimiter</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;string)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="buildBreadCrumbs()"><!-- --></A><H3>
buildBreadCrumbs</H3>
<PRE>
public void <B>buildBreadCrumbs</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="buildBreadCrumbs(java.lang.String)"><!-- --></A><H3>
buildBreadCrumbs</H3>
<PRE>
public void <B>buildBreadCrumbs</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;delimiter)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/MenuRepository.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../net/sf/navigator/menu/MenuPlugIn.html" title="class in net.sf.navigator.menu"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../net/sf/navigator/menu/PermissionsAdapter.html" title="interface in net.sf.navigator.menu"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?net/sf/navigator/menu/MenuRepository.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="MenuRepository.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
Copyright &copy; 2003-2007 SourceForge. All Rights Reserved.
</BODY>
</HTML>

⌨️ 快捷键说明

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