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

📄 screen.html

📁 turbine教程
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="Screen()"><!-- --></A><H3>Screen</H3><PRE>public <B>Screen</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="doBuild(org.apache.turbine.util.RunData)"><!-- --></A><H3>doBuild</H3><PRE>protected abstract org.apache.ecs.ConcreteElement <B>doBuild</B>(<A HREF="../../../../org/apache/turbine/util/RunData.html">RunData</A>&nbsp;data)                                                   throws java.lang.Exception</PRE><DL><DD>A subclass must override this method to build itself. Subclasses override this method to store the screen in RunData or to write the screen to the output stream referenced in RunData.<DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - Turbine information.<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - a generic exception.</DL></DD></DL><HR><A NAME="build(org.apache.turbine.util.RunData)"><!-- --></A><H3>build</H3><PRE>protected org.apache.ecs.ConcreteElement <B>build</B>(<A HREF="../../../../org/apache/turbine/util/RunData.html">RunData</A>&nbsp;data)                                        throws java.lang.Exception</PRE><DL><DD>Subclasses can override this method to add additional functionality.  This method is protected to force clients to use ScreenLoader to build a Screen.<DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - Turbine information.<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE> - a generic exception.</DL></DD></DL><HR><A NAME="getLayout(org.apache.turbine.util.RunData)"><!-- --></A><H3>getLayout</H3><PRE>public java.lang.String <B>getLayout</B>(<A HREF="../../../../org/apache/turbine/util/RunData.html">RunData</A>&nbsp;data)</PRE><DL><DD>If the Layout has not been defined by the Screen then set the layout to be "DefaultLayout".  The Screen object can also override this method to provide intelligent determination of the Layout to execute.  You can also define that logic here as well if you want it to apply on a global scale.  For example, if you wanted to allow someone to define Layout "preferences" where they could dynamicially change the Layout for the entire site.  The information for the request is passed in with the RunData object.<DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - Turbine information.<DT><B>Returns:</B><DD>A String with the Layout.</DL></DD></DL><HR><A NAME="setLayout(org.apache.turbine.util.RunData, java.lang.String)"><!-- --></A><H3>setLayout</H3><PRE>public void <B>setLayout</B>(<A HREF="../../../../org/apache/turbine/util/RunData.html">RunData</A>&nbsp;data,                      java.lang.String&nbsp;layout)</PRE><DL><DD>Set the layout for a Screen.<DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - Turbine information.<DD><CODE>layout</CODE> - The layout name.</DL></DD></DL><HR><A NAME="prepareText(java.lang.String)"><!-- --></A><H3>prepareText</H3><PRE>public static java.lang.String <B>prepareText</B>(java.lang.String&nbsp;s)</PRE><DL><DD>This function can/should be used in any screen that will output User entered text.  This will help prevent users from entering html (<SCRIPT>) tags that will get executed by the browser.<DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - The string to prepare.<DT><B>Returns:</B><DD>A string with the input already prepared.</DL></DD></DL><HR><A NAME="prepareTextMinimum(java.lang.String)"><!-- --></A><H3>prepareTextMinimum</H3><PRE>public static java.lang.String <B>prepareTextMinimum</B>(java.lang.String&nbsp;s)</PRE><DL><DD>This function can/should be used in any screen that will output User entered text.  This will help prevent users from entering html (<SCRIPT>) tags that will get executed by the browser.<DD><DL><DT><B>Parameters:</B><DD><CODE>s</CODE> - The string to prepare.<DT><B>Returns:</B><DD>A string with the input already prepared.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <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/Screen.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="../../../../org/apache/turbine/modules/ScheduledJobLoader.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/apache/turbine/modules/ScreenLoader.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Screen.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&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;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR>Copyright &copy; 2000-2002 Apache Software Foundation. All Rights Reserved.</BODY></HTML>

⌨️ 快捷键说明

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