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

📄 beancontextchildsupport.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 3 页
字号:
</DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the property that was listened on<DD><CODE>pcl</CODE> - The PropertyChangeListener to be removed</DL></DD></DL><HR><A NAME="addVetoableChangeListener(java.lang.String, java.beans.VetoableChangeListener)"><!-- --></A><H3>addVetoableChangeListener</H3><PRE>public void <B>addVetoableChangeListener</B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;name,                                      <A HREF="../../../java/beans/VetoableChangeListener.html">VetoableChangeListener</A>&nbsp;vcl)</PRE><DL><DD>Adds a <code>VetoableChangeListener</code>.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../java/beans/beancontext/BeanContextChild.html#addVetoableChangeListener(java.lang.String, java.beans.VetoableChangeListener)">addVetoableChangeListener</A></CODE> in interface <CODE><A HREF="../../../java/beans/beancontext/BeanContextChild.html">BeanContextChild</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the property to listen on<DD><CODE>vcl</CODE> - The <code>VetoableChangeListener</code> to be added</DL></DD></DL><HR><A NAME="removeVetoableChangeListener(java.lang.String, java.beans.VetoableChangeListener)"><!-- --></A><H3>removeVetoableChangeListener</H3><PRE>public void <B>removeVetoableChangeListener</B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;name,                                         <A HREF="../../../java/beans/VetoableChangeListener.html">VetoableChangeListener</A>&nbsp;vcl)</PRE><DL><DD>Removes a <code>VetoableChangeListener</code>.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../java/beans/beancontext/BeanContextChild.html#removeVetoableChangeListener(java.lang.String, java.beans.VetoableChangeListener)">removeVetoableChangeListener</A></CODE> in interface <CODE><A HREF="../../../java/beans/beancontext/BeanContextChild.html">BeanContextChild</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the property that was listened on<DD><CODE>vcl</CODE> - The <code>VetoableChangeListener</code> to be removed</DL></DD></DL><HR><A NAME="serviceRevoked(java.beans.beancontext.BeanContextServiceRevokedEvent)"><!-- --></A><H3>serviceRevoked</H3><PRE>public void <B>serviceRevoked</B>(<A HREF="../../../java/beans/beancontext/BeanContextServiceRevokedEvent.html">BeanContextServiceRevokedEvent</A>&nbsp;bcsre)</PRE><DL><DD>A service provided by the nesting BeanContext has been revoked.  Subclasses may override this method in order to implement their own behaviors.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../java/beans/beancontext/BeanContextServiceRevokedListener.html#serviceRevoked(java.beans.beancontext.BeanContextServiceRevokedEvent)">serviceRevoked</A></CODE> in interface <CODE><A HREF="../../../java/beans/beancontext/BeanContextServiceRevokedListener.html">BeanContextServiceRevokedListener</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>bcsre</CODE> - The <code>BeanContextServiceRevokedEvent</code> fired as a  result of a service being revoked</DL></DD></DL><HR><A NAME="serviceAvailable(java.beans.beancontext.BeanContextServiceAvailableEvent)"><!-- --></A><H3>serviceAvailable</H3><PRE>public void <B>serviceAvailable</B>(<A HREF="../../../java/beans/beancontext/BeanContextServiceAvailableEvent.html">BeanContextServiceAvailableEvent</A>&nbsp;bcsae)</PRE><DL><DD>A new service is available from the nesting BeanContext.  Subclasses may override this method in order to implement their own behaviors<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../java/beans/beancontext/BeanContextServicesListener.html#serviceAvailable(java.beans.beancontext.BeanContextServiceAvailableEvent)">serviceAvailable</A></CODE> in interface <CODE><A HREF="../../../java/beans/beancontext/BeanContextServicesListener.html">BeanContextServicesListener</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>bcsae</CODE> - The BeanContextServiceAvailableEvent fired as a result of a service becoming available</DL></DD></DL><HR><A NAME="getBeanContextChildPeer()"><!-- --></A><H3>getBeanContextChildPeer</H3><PRE>public <A HREF="../../../java/beans/beancontext/BeanContextChild.html">BeanContextChild</A> <B>getBeanContextChildPeer</B>()</PRE><DL><DD>Gets the <tt>BeanContextChild</tt> associated with this  <tt>BeanContextChildSupport</tt>.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the <tt>BeanContextChild</tt> peer of this class</DL></DD></DL><HR><A NAME="isDelegated()"><!-- --></A><H3>isDelegated</H3><PRE>public boolean <B>isDelegated</B>()</PRE><DL><DD>Reports whether or not this class is a delegate of another.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if this class is a delegate of another</DL></DD></DL><HR><A NAME="firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object)"><!-- --></A><H3>firePropertyChange</H3><PRE>public void <B>firePropertyChange</B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;name,                               <A HREF="../../../java/lang/Object.html">Object</A>&nbsp;oldValue,                               <A HREF="../../../java/lang/Object.html">Object</A>&nbsp;newValue)</PRE><DL><DD>Report a bound property update to any registered listeners. No event is fired if old and new are equal and non-null.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The programmatic name of the property that was changed<DD><CODE>oldValue</CODE> - The old value of the property<DD><CODE>newValue</CODE> - The new value of the property</DL></DD></DL><HR><A NAME="fireVetoableChange(java.lang.String, java.lang.Object, java.lang.Object)"><!-- --></A><H3>fireVetoableChange</H3><PRE>public void <B>fireVetoableChange</B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;name,                               <A HREF="../../../java/lang/Object.html">Object</A>&nbsp;oldValue,                               <A HREF="../../../java/lang/Object.html">Object</A>&nbsp;newValue)                        throws <A HREF="../../../java/beans/PropertyVetoException.html">PropertyVetoException</A></PRE><DL><DD>Report a vetoable property update to any registered listeners.  If anyone vetos the change, then fire a new event  reverting everyone to the old value and then rethrow  the PropertyVetoException. <P> No event is fired if old and new are equal and non-null. <P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - The programmatic name of the property that is about to change<DD><CODE>oldValue</CODE> - The old value of the property<DD><CODE>newValue</CODE> - - The new value of the property<DT><B>Throws:</B><DD><CODE><A HREF="../../../java/beans/PropertyVetoException.html">PropertyVetoException</A></CODE> - if the recipient wishes the property change to be rolled back.</DL></DD></DL><HR><A NAME="validatePendingSetBeanContext(java.beans.beancontext.BeanContext)"><!-- --></A><H3>validatePendingSetBeanContext</H3><PRE>public boolean <B>validatePendingSetBeanContext</B>(<A HREF="../../../java/beans/beancontext/BeanContext.html">BeanContext</A>&nbsp;newValue)</PRE><DL><DD>Called from setBeanContext to validate (or otherwise) the pending change in the nesting BeanContext property value. Returning false will cause setBeanContext to throw PropertyVetoException.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>newValue</CODE> - the new value that has been requested for   the BeanContext property<DT><B>Returns:</B><DD><code>true</code> if the change operation is to be vetoed</DL></DD></DL><HR><A NAME="releaseBeanContextResources()"><!-- --></A><H3>releaseBeanContextResources</H3><PRE>protected void <B>releaseBeanContextResources</B>()</PRE><DL><DD>This method may be overridden by subclasses to provide their own release behaviors. When invoked any resources held by this instance obtained from its current BeanContext property should be released since the object is no longer nested within that BeanContext.<DD><DL></DL></DD></DL><HR><A NAME="initializeBeanContextResources()"><!-- --></A><H3>initializeBeanContextResources</H3><PRE>protected void <B>initializeBeanContextResources</B>()</PRE><DL><DD>This method may be overridden by subclasses to provide their own initialization behaviors. When invoked any resources requried by the BeanContextChild should be obtained from the current BeanContext.<DD><DL></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/BeanContextChildSupport.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-files/index-1.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><b>Java<sup><font size=-2>TM</font></sup>&nbsp;2&nbsp;Platform<br>Std.&nbsp;Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV CLASS&nbsp;&nbsp;<A HREF="../../../java/beans/beancontext/BeanContextEvent.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="BeanContextChildSupport.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;<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><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation  contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A.  All Rights Reserved.</font></BODY></HTML>

⌨️ 快捷键说明

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