📄 abstractmenudisplayer.html
字号:
</DL>
<HR>
<A NAME="setConfig(java.lang.String)"><!-- --></A><H3>
setConfig</H3>
<PRE>
public void <B>setConfig</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> config)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../net/sf/navigator/displayer/MenuDisplayer.html#setConfig(java.lang.String)">MenuDisplayer</A></CODE></B></DD>
<DD>Sets the name of the message resources bundle that contains display and/or configuration definitions.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/navigator/displayer/MenuDisplayer.html#setConfig(java.lang.String)">setConfig</A></CODE> in interface <CODE><A HREF="../../../../net/sf/navigator/displayer/MenuDisplayer.html" title="interface in net.sf.navigator.displayer">MenuDisplayer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>config</CODE> - New value of property config.</DL>
</DD>
</DL>
<HR>
<A NAME="getTarget()"><!-- --></A><H3>
getTarget</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>getTarget</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../net/sf/navigator/displayer/MenuDisplayer.html#getTarget()">MenuDisplayer</A></CODE></B></DD>
<DD>Returns the target name for any hrefs that may be generated.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/navigator/displayer/MenuDisplayer.html#getTarget()">getTarget</A></CODE> in interface <CODE><A HREF="../../../../net/sf/navigator/displayer/MenuDisplayer.html" title="interface in net.sf.navigator.displayer">MenuDisplayer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the value for target.</DL>
</DD>
</DL>
<HR>
<A NAME="getTarget(net.sf.navigator.menu.MenuComponent)"><!-- --></A><H3>
getTarget</H3>
<PRE>
protected <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>getTarget</B>(<A HREF="../../../../net/sf/navigator/menu/MenuComponent.html" title="class in net.sf.navigator.menu">MenuComponent</A> menu)</PRE>
<DL>
<DD>Convenience method that will first return the target for the displayer if it is not null. If the displayer target is null, then it will return <code>menu.getTarget()</code>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the target for the menu link.</DL>
</DD>
</DL>
<HR>
<A NAME="setTarget(java.lang.String)"><!-- --></A><H3>
setTarget</H3>
<PRE>
public void <B>setTarget</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> target)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../net/sf/navigator/displayer/MenuDisplayer.html#setTarget(java.lang.String)">MenuDisplayer</A></CODE></B></DD>
<DD>Setter for property target.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/navigator/displayer/MenuDisplayer.html#setTarget(java.lang.String)">setTarget</A></CODE> in interface <CODE><A HREF="../../../../net/sf/navigator/displayer/MenuDisplayer.html" title="interface in net.sf.navigator.displayer">MenuDisplayer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>target</CODE> - New value of property target.</DL>
</DD>
</DL>
<HR>
<A NAME="getPermissionsAdapter()"><!-- --></A><H3>
getPermissionsAdapter</H3>
<PRE>
public <A HREF="../../../../net/sf/navigator/menu/PermissionsAdapter.html" title="interface in net.sf.navigator.menu">PermissionsAdapter</A> <B>getPermissionsAdapter</B>()</PRE>
<DL>
<DD>Getter for property permissionsAdapter.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/navigator/displayer/MenuDisplayer.html#getPermissionsAdapter()">getPermissionsAdapter</A></CODE> in interface <CODE><A HREF="../../../../net/sf/navigator/displayer/MenuDisplayer.html" title="interface in net.sf.navigator.displayer">MenuDisplayer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Value of property permissionsAdapter.</DL>
</DD>
</DL>
<HR>
<A NAME="setPermissionsAdapter(net.sf.navigator.menu.PermissionsAdapter)"><!-- --></A><H3>
setPermissionsAdapter</H3>
<PRE>
public void <B>setPermissionsAdapter</B>(<A HREF="../../../../net/sf/navigator/menu/PermissionsAdapter.html" title="interface in net.sf.navigator.menu">PermissionsAdapter</A> permissionsAdapter)</PRE>
<DL>
<DD>Setter for property permissionsAdapter.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/navigator/displayer/MenuDisplayer.html#setPermissionsAdapter(net.sf.navigator.menu.PermissionsAdapter)">setPermissionsAdapter</A></CODE> in interface <CODE><A HREF="../../../../net/sf/navigator/displayer/MenuDisplayer.html" title="interface in net.sf.navigator.displayer">MenuDisplayer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>permissionsAdapter</CODE> - New value of property permissionsAdapter.</DL>
</DD>
</DL>
<HR>
<A NAME="init(javax.servlet.jsp.PageContext, net.sf.navigator.displayer.MenuDisplayerMapping)"><!-- --></A><H3>
init</H3>
<PRE>
public void <B>init</B>(javax.servlet.jsp.PageContext pageContext,
<A HREF="../../../../net/sf/navigator/displayer/MenuDisplayerMapping.html" title="class in net.sf.navigator.displayer">MenuDisplayerMapping</A> mapping)</PRE>
<DL>
<DD>Lifecycle method that should be called when the <code>MenuDisplayer</code> is being prepared for use.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/navigator/displayer/MenuDisplayer.html#init(javax.servlet.jsp.PageContext, net.sf.navigator.displayer.MenuDisplayerMapping)">init</A></CODE> in interface <CODE><A HREF="../../../../net/sf/navigator/displayer/MenuDisplayer.html" title="interface in net.sf.navigator.displayer">MenuDisplayer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - The JSP pageContext to give the displayer access to any resources it may need.<DD><CODE>mapping</CODE> - The menu displayer mapping used to embody the xml definition.</DL>
</DD>
</DL>
<HR>
<A NAME="display(net.sf.navigator.menu.MenuComponent)"><!-- --></A><H3>
display</H3>
<PRE>
public abstract void <B>display</B>(<A HREF="../../../../net/sf/navigator/menu/MenuComponent.html" title="class in net.sf.navigator.menu">MenuComponent</A> menu)
throws javax.servlet.jsp.JspException,
<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/navigator/displayer/MenuDisplayer.html#display(net.sf.navigator.menu.MenuComponent)">display</A></CODE> in interface <CODE><A HREF="../../../../net/sf/navigator/displayer/MenuDisplayer.html" title="interface in net.sf.navigator.displayer">MenuDisplayer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>javax.servlet.jsp.JspException</CODE>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="end(javax.servlet.jsp.PageContext)"><!-- --></A><H3>
end</H3>
<PRE>
public void <B>end</B>(javax.servlet.jsp.PageContext pageContext)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../net/sf/navigator/displayer/MenuDisplayer.html#end(javax.servlet.jsp.PageContext)">MenuDisplayer</A></CODE></B></DD>
<DD>Lifecycle method that should be called when the <code>MenuDisplayer</code> is done being used.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/navigator/displayer/MenuDisplayer.html#end(javax.servlet.jsp.PageContext)">end</A></CODE> in interface <CODE><A HREF="../../../../net/sf/navigator/displayer/MenuDisplayer.html" title="interface in net.sf.navigator.displayer">MenuDisplayer</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pageContext</CODE> - The JSP pageContext to give the displayer access to any resources it may need.</DL>
</DD>
</DL>
<HR>
<A NAME="isAllowed(net.sf.navigator.menu.MenuComponent)"><!-- --></A><H3>
isAllowed</H3>
<PRE>
public boolean <B>isAllowed</B>(<A HREF="../../../../net/sf/navigator/menu/MenuComponent.html" title="class in net.sf.navigator.menu">MenuComponent</A> menu)</PRE>
<DL>
<DD>Returns <code>true</code> if the specified component is usable. If <code>permissionsAdapter</code> is not defined, this method will return <code>true</code>. Otherwise, the adapter will be used to check permissions on the menu.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>menu</CODE> - The menu component.
<DT><B>Returns:</B><DD><code>true</code> if the menu component is usable.</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> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AbstractMenuDisplayer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV CLASS
<A HREF="../../../../net/sf/navigator/displayer/CoolMenuDisplayer.html" title="class in net.sf.navigator.displayer"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?net/sf/navigator/displayer/AbstractMenuDisplayer.html" target="_top"><B>FRAMES</B></A>
<A HREF="AbstractMenuDisplayer.html" target="_top"><B>NO FRAMES</B></A>
<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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright © 2003-2007 SourceForge. All Rights Reserved.
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -