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

📄 beancontextsupport.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;<A HREF="../../../java/beans/beancontext/BeanContextMembershipListener.html">BeanContextMembershipListener</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#getChildBeanContextMembershipListener(java.lang.Object)">getChildBeanContextMembershipListener</A></B>(<A HREF="../../../java/lang/Object.html">Object</A>&nbsp;child)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the BeanContextMembershipListener  (if any) of the specified child</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;<A HREF="../../../java/beans/PropertyChangeListener.html">PropertyChangeListener</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#getChildPropertyChangeListener(java.lang.Object)">getChildPropertyChangeListener</A></B>(<A HREF="../../../java/lang/Object.html">Object</A>&nbsp;child)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the PropertyChangeListener  (if any) of the specified child</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;<A HREF="../../../java/io/Serializable.html">Serializable</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#getChildSerializable(java.lang.Object)">getChildSerializable</A></B>(<A HREF="../../../java/lang/Object.html">Object</A>&nbsp;child)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the Serializable (if any) associated with the specified Child</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;<A HREF="../../../java/beans/VetoableChangeListener.html">VetoableChangeListener</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#getChildVetoableChangeListener(java.lang.Object)">getChildVetoableChangeListener</A></B>(<A HREF="../../../java/lang/Object.html">Object</A>&nbsp;child)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the VetoableChangeListener  (if any) of the specified child</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;<A HREF="../../../java/beans/Visibility.html">Visibility</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#getChildVisibility(java.lang.Object)">getChildVisibility</A></B>(<A HREF="../../../java/lang/Object.html">Object</A>&nbsp;child)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the Component (if any) associated with the specified child.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/util/Locale.html">Locale</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#getLocale()">getLocale</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the locale for this <tt>BeanContext</tt>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/net/URL.html">URL</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#getResource(java.lang.String, java.beans.beancontext.BeanContextChild)">getResource</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;name,            <A HREF="../../../java/beans/beancontext/BeanContextChild.html">BeanContextChild</A>&nbsp;bcc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Analagous to <code>java.lang.ClassLoader.getResource()</code>, this method allows a <code>BeanContext</code> implementation to interpose behavior between the child <code>Component</code>  and underlying <code>ClassLoader</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/io/InputStream.html">InputStream</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#getResourceAsStream(java.lang.String, java.beans.beancontext.BeanContextChild)">getResourceAsStream</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;name,                    <A HREF="../../../java/beans/beancontext/BeanContextChild.html">BeanContextChild</A>&nbsp;bcc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Analagous to <code>java.lang.ClassLoader.getResourceAsStream()</code>,  this method allows a <code>BeanContext</code> implementation  to interpose behavior between the child <code>Component</code>  and underlying <code>ClassLoader</code>.</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><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#initialize()">initialize</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;protected method called from constructor and readObject to initialize transient state of BeanContextSupport instance.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/lang/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#instantiateChild(java.lang.String)">instantiateChild</A></B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;beanName)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The instantiateChild method is a convenience hook  in BeanContext to simplify the task of instantiating a Bean, nested,  into a <tt>BeanContext</tt>.</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><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#isDesignTime()">isDesignTime</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reports whether or not this object is in currently in design time mode.</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><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#isEmpty()">isEmpty</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reports whether or not this  <tt>BeanContext</tt> is empty.</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><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#isSerializing()">isSerializing</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Is this <tt>BeanContext</tt> in the  process of being serialized?</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/util/Iterator.html">Iterator</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#iterator()">iterator</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets all JavaBean or <tt>BeanContext</tt> instances  currently nested in this <tt>BeanContext</tt>.</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><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#needsGui()">needsGui</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This method is typically called from the environment in order to determine if the implementor "needs" a GUI.</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><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#okToUseGui()">okToUseGui</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Notify this instance that it may now render a GUI</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><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#propertyChange(java.beans.PropertyChangeEvent)">propertyChange</A></B>(<A HREF="../../../java/beans/PropertyChangeEvent.html">PropertyChangeEvent</A>&nbsp;pce)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;subclasses may envelope to monitor child property changes.</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><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#readChildren(java.io.ObjectInputStream)">readChildren</A></B>(<A HREF="../../../java/io/ObjectInputStream.html">ObjectInputStream</A>&nbsp;ois)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When an instance of this class is used as a delegate for the implementation of the BeanContext protocols (and its subprotocols) there exists a 'chicken and egg' problem during deserialization</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><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#remove(java.lang.Object)">remove</A></B>(<A HREF="../../../java/lang/Object.html">Object</A>&nbsp;targetChild)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes a child from this BeanContext.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#remove(java.lang.Object, boolean)">remove</A></B>(<A HREF="../../../java/lang/Object.html">Object</A>&nbsp;targetChild,       boolean&nbsp;callChildSetBC)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internal remove used when removal caused by  unexpected <tt>setBeanContext</tt> or by <tt>remove()</tt> invocation.</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><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#removeAll(java.util.Collection)">removeAll</A></B>(<A HREF="../../../java/util/Collection.html">Collection</A>&nbsp;c)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;remove all specified children (Unsupported) implementations must synchronized on the hierarchy lock and "children" protected field</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><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#removeBeanContextMembershipListener(java.beans.beancontext.BeanContextMembershipListener)">removeBeanContextMembershipListener</A></B>(<A HREF="../../../java/beans/beancontext/BeanContextMembershipListener.html">BeanContextMembershipListener</A>&nbsp;bcml)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes a BeanContextMembershipListener</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><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#retainAll(java.util.Collection)">retainAll</A></B>(<A HREF="../../../java/util/Collection.html">Collection</A>&nbsp;c)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;retain only specified children (Unsupported) implementations must synchronized on the hierarchy lock and "children" protected field</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><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#serialize(java.io.ObjectOutputStream, java.util.Collection)">serialize</A></B>(<A HREF="../../../java/io/ObjectOutputStream.html">ObjectOutputStream</A>&nbsp;oos,          <A HREF="../../../java/util/Collection.html">Collection</A>&nbsp;coll)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used by writeObject to serialize a Collection.</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><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#setDesignTime(boolean)">setDesignTime</A></B>(boolean&nbsp;dTime)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the new design time value for this <tt>BeanContext</tt>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">

⌨️ 快捷键说明

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