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

📄 menucomponent.html

📁 sturts_menu 的源代码 主要提过了常用的menu菜单样式
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<TD><CODE><B>MenuRepository.</B><B><A HREF="../../../../../net/sf/navigator/menu/MenuRepository.html#getTopMenusAsArray()">getTopMenusAsArray</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method getTopMenusAsArray.</TD>
</TR>
</TABLE>
&nbsp;
<P>

<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../net/sf/navigator/menu/package-summary.html">net.sf.navigator.menu</A> with parameters of type <A HREF="../../../../../net/sf/navigator/menu/MenuComponent.html" title="class in net.sf.navigator.menu">MenuComponent</A></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B>MenuRepository.</B><B><A HREF="../../../../../net/sf/navigator/menu/MenuRepository.html#addMenu(net.sf.navigator.menu.MenuComponent)">addMenu</A></B>(<A HREF="../../../../../net/sf/navigator/menu/MenuComponent.html" title="class in net.sf.navigator.menu">MenuComponent</A>&nbsp;menu)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a new menu.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B>MenuComponent.</B><B><A HREF="../../../../../net/sf/navigator/menu/MenuComponent.html#addMenuComponent(net.sf.navigator.menu.MenuComponent)">addMenuComponent</A></B>(<A HREF="../../../../../net/sf/navigator/menu/MenuComponent.html" title="class in net.sf.navigator.menu">MenuComponent</A>&nbsp;menuComponent)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B>RolesPermissionsAdapter.</B><B><A HREF="../../../../../net/sf/navigator/menu/RolesPermissionsAdapter.html#isAllowed(net.sf.navigator.menu.MenuComponent)">isAllowed</A></B>(<A HREF="../../../../../net/sf/navigator/menu/MenuComponent.html" title="class in net.sf.navigator.menu">MenuComponent</A>&nbsp;menu)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If the menu is allowed, this should return true.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B>PermissionsAdapter.</B><B><A HREF="../../../../../net/sf/navigator/menu/PermissionsAdapter.html#isAllowed(net.sf.navigator.menu.MenuComponent)">isAllowed</A></B>(<A HREF="../../../../../net/sf/navigator/menu/MenuComponent.html" title="class in net.sf.navigator.menu">MenuComponent</A>&nbsp;menu)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If the menu is allowed, this should return true.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B>MenuComponent.</B><B><A HREF="../../../../../net/sf/navigator/menu/MenuComponent.html#setMenuComponents(net.sf.navigator.menu.MenuComponent[])">setMenuComponents</A></B>(<A HREF="../../../../../net/sf/navigator/menu/MenuComponent.html" title="class in net.sf.navigator.menu">MenuComponent</A>[]&nbsp;menuComponents)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B>MenuComponent.</B><B><A HREF="../../../../../net/sf/navigator/menu/MenuComponent.html#setParent(net.sf.navigator.menu.MenuComponent)">setParent</A></B>(<A HREF="../../../../../net/sf/navigator/menu/MenuComponent.html" title="class in net.sf.navigator.menu">MenuComponent</A>&nbsp;parentMenu)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<P>
<A NAME="net.sf.navigator.taglib"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
Uses of <A HREF="../../../../../net/sf/navigator/menu/MenuComponent.html" title="class in net.sf.navigator.menu">MenuComponent</A> in <A HREF="../../../../../net/sf/navigator/taglib/package-summary.html">net.sf.navigator.taglib</A></FONT></TH>
</TR>
</TABLE>
&nbsp;
<P>

<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../net/sf/navigator/taglib/package-summary.html">net.sf.navigator.taglib</A> with parameters of type <A HREF="../../../../../net/sf/navigator/menu/MenuComponent.html" title="class in net.sf.navigator.menu">MenuComponent</A></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B>DisplayMenuTag.</B><B><A HREF="../../../../../net/sf/navigator/taglib/DisplayMenuTag.html#setLocation(net.sf.navigator.menu.MenuComponent)">setLocation</A></B>(<A HREF="../../../../../net/sf/navigator/menu/MenuComponent.html" title="class in net.sf.navigator.menu">MenuComponent</A>&nbsp;menu)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B>DisplayMenuTag.</B><B><A HREF="../../../../../net/sf/navigator/taglib/DisplayMenuTag.html#setPageLocation(net.sf.navigator.menu.MenuComponent)">setPageLocation</A></B>(<A HREF="../../../../../net/sf/navigator/menu/MenuComponent.html" title="class in net.sf.navigator.menu">MenuComponent</A>&nbsp;menu)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value for the menu location to the appropriate value if location is null.</TD>
</TR>
</TABLE>
&nbsp;
<P>
<A NAME="net.sf.navigator.taglib.el"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
Uses of <A HREF="../../../../../net/sf/navigator/menu/MenuComponent.html" title="class in net.sf.navigator.menu">MenuComponent</A> in <A HREF="../../../../../net/sf/navigator/taglib/el/package-summary.html">net.sf.navigator.taglib.el</A></FONT></TH>
</TR>
</TABLE>
&nbsp;
<P>

<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../net/sf/navigator/taglib/el/package-summary.html">net.sf.navigator.taglib.el</A> with parameters of type <A HREF="../../../../../net/sf/navigator/menu/MenuComponent.html" title="class in net.sf.navigator.menu">MenuComponent</A></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B>DisplayMenuTag.</B><B><A HREF="../../../../../net/sf/navigator/taglib/el/DisplayMenuTag.html#setPageLocation(net.sf.navigator.menu.MenuComponent)">setPageLocation</A></B>(<A HREF="../../../../../net/sf/navigator/menu/MenuComponent.html" title="class in net.sf.navigator.menu">MenuComponent</A>&nbsp;menu)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Overrides the setPageLocation in parentTag to use JSTL to evaluate the URL.</TD>
</TR>
</TABLE>
&nbsp;
<P>
<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="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../net/sf/navigator/menu/MenuComponent.html" title="class in net.sf.navigator.menu"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&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;PREV&nbsp;
&nbsp;NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../index.html?net/sf/navigator/menu/\class-useMenuComponent.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="MenuComponent.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>
</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 + -