uicomponenttagbase.html

来自「j2ee帮助文档软件设计/软件工程 文件格式」· HTML 代码 · 共 567 行 · 第 1/2 页

HTML
567
字号
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="UIComponentTagBase()"><!-- --></A><H3>UIComponentTagBase</H3><PRE>public <B>UIComponentTagBase</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getFacesContext()"><!-- --></A><H3>getFacesContext</H3><PRE>protected abstract <A HREF="../../../javax/faces/context/FacesContext.html" title="class in javax.faces.context">FacesContext</A> <B>getFacesContext</B>()</PRE><DL><DD><p>Return the <A HREF="../../../javax/faces/context/FacesContext.html" title="class in javax.faces.context"><CODE>FacesContext</CODE></A> instance for the current request.  This value will be non-<code>null</code> only from the beginning of <code>doStartTag()</code> through the end of <code>doEndTag()</code> for each tag instance.</p><P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getELContext()"><!-- --></A><H3>getELContext</H3><PRE>protected <A HREF="../../../javax/el/ELContext.html" title="class in javax.el">ELContext</A> <B>getELContext</B>()</PRE><DL><DD><p>Return the <A HREF="../../../javax/el/ELContext.html" title="class in javax.el"><CODE>ELContext</CODE></A> for the <A HREF="../../../javax/faces/context/FacesContext.html" title="class in javax.faces.context"><CODE>FacesContext</CODE></A> for this request.</p> <p>This is a convenience for <code>getFacesContext().getELContext()</code>.</p><P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="addChild(javax.faces.component.UIComponent)"><!-- --></A><H3>addChild</H3><PRE>protected abstract void <B>addChild</B>(<A HREF="../../../javax/faces/component/UIComponent.html" title="class in javax.faces.component">UIComponent</A>&nbsp;child)</PRE><DL><DD><p>Add the component identifier of the specified <A HREF="../../../javax/faces/component/UIComponent.html" title="class in javax.faces.component"><CODE>UIComponent</CODE></A> to the list of component identifiers created or located by nested <A HREF="../../../javax/faces/webapp/UIComponentTag.html" title="class in javax.faces.webapp"><CODE>UIComponentTag</CODE></A>s processing this request.</p><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>child</CODE> - New child whose identifier should be added</DL></DD></DL><HR><A NAME="addFacet(java.lang.String)"><!-- --></A><H3>addFacet</H3><PRE>protected abstract void <B>addFacet</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name)</PRE><DL><DD><p>Add the facet name of the specified facet to the list of facet names created or located by nested <A HREF="../../../javax/faces/webapp/UIComponentTag.html" title="class in javax.faces.webapp"><CODE>UIComponentTag</CODE></A>s processing this request.</p><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - Facet name to be added</DL></DD></DL><HR><A NAME="setId(java.lang.String)"><!-- --></A><H3>setId</H3><PRE>public abstract void <B>setId</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;id)</PRE><DL><DD><p>Set the component identifier for the component corresponding to this tag instance.  If the argument begins with <A HREF="../../../javax/faces/component/UIViewRoot.html#UNIQUE_ID_PREFIX"><CODE>UIViewRoot.UNIQUE_ID_PREFIX</CODE></A> throw an <code>IllegalArgumentException</code></p><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>id</CODE> - The new component identifier.  This may not start with <A HREF="../../../javax/faces/component/UIViewRoot.html#UNIQUE_ID_PREFIX"><CODE>UIViewRoot.UNIQUE_ID_PREFIX</CODE></A>.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if the argument is non-<code>null</code> and starts with <A HREF="../../../javax/faces/component/UIViewRoot.html#UNIQUE_ID_PREFIX"><CODE>UIViewRoot.UNIQUE_ID_PREFIX</CODE></A>.</DL></DD></DL><HR><A NAME="getComponentType()"><!-- --></A><H3>getComponentType</H3><PRE>public abstract <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getComponentType</B>()</PRE><DL><DD><p>Return the component type for the component that is or will be bound to this tag.  This value can be passed to <A HREF="../../../javax/faces/application/Application.html#createComponent(java.lang.String)"><CODE>Application.createComponent(java.lang.String)</CODE></A> to create the <A HREF="../../../javax/faces/component/UIComponent.html" title="class in javax.faces.component"><CODE>UIComponent</CODE></A> instance for this tag.  Subclasses must override this method to return the appropriate value.</p><P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getRendererType()"><!-- --></A><H3>getRendererType</H3><PRE>public abstract <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getRendererType</B>()</PRE><DL><DD><p>Return the <code>rendererType</code> property that selects the <code>Renderer</code> to be used for encoding this component, or <code>null</code> to ask the component to render itself directly. Subclasses must override this method to return the appropriate value. </p><P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getComponentInstance()"><!-- --></A><H3>getComponentInstance</H3><PRE>public abstract <A HREF="../../../javax/faces/component/UIComponent.html" title="class in javax.faces.component">UIComponent</A> <B>getComponentInstance</B>()</PRE><DL><DD><p>Return the <A HREF="../../../javax/faces/component/UIComponent.html" title="class in javax.faces.component"><CODE>UIComponent</CODE></A> instance that is associated with this tag instance.  This method is designed to be used by tags nested within this tag, and only returns useful results between the execution of <code>doStartTag()</code> and <code>doEndTag()</code> on this tag instance.</p><P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getCreated()"><!-- --></A><H3>getCreated</H3><PRE>public abstract boolean <B>getCreated</B>()</PRE><DL><DD><p>Return <code>true</code> if we dynamically created a new component instance during execution of this tag.  This method is designed to be used by tags nested within this tag, and only returns useful results between the execution of <code>doStartTag()</code> and <code>doEndTag()</code> on this tag instance.</p><P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getIndexOfNextChildTag()"><!-- --></A><H3>getIndexOfNextChildTag</H3><PRE>protected abstract int <B>getIndexOfNextChildTag</B>()</PRE><DL><DD><p>Return the index of the next child to be added as a child of this tag.  The default implementation maintains a list of created components and returns the size of the list.</p><P><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="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="../../../javax/faces/webapp/UIComponentTag.html" title="class in javax.faces.webapp"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/faces/webapp/ValidatorELTag.html" title="class in javax.faces.webapp"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?javax/faces/webapp/UIComponentTagBase.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="UIComponentTagBase.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><font size="-1"><a href="http://java.sun.com/webapps/bugreport">Submit a bug or feature</a> <p>Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to <a href="../legal/license.html" target="_top">license terms.</a></font></BODY></HTML>

⌨️ 快捷键说明

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