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

📄 beancontextsupport.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create an instance using the specified Locale and design mode.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#BeanContextSupport(java.beans.beancontext.BeanContext, java.util.Locale, boolean, boolean)">BeanContextSupport</A></B>(<A HREF="../../../java/beans/beancontext/BeanContext.html">BeanContext</A>&nbsp;peer,                   <A HREF="../../../java/util/Locale.html">Locale</A>&nbsp;lcle,                   boolean&nbsp;dTime,                   boolean&nbsp;visible)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a BeanContextSupport instance</TD></TR></TABLE>&nbsp;<!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></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#add(java.lang.Object)">add</A></B>(<A HREF="../../../java/lang/Object.html">Object</A>&nbsp;targetChild)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds/nests a child within 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#addAll(java.util.Collection)">addAll</A></B>(<A HREF="../../../java/util/Collection.html">Collection</A>&nbsp;c)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;add Collection to set of 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#addBeanContextMembershipListener(java.beans.beancontext.BeanContextMembershipListener)">addBeanContextMembershipListener</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;Adds 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#avoidingGui()">avoidingGui</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used to determine if the <tt>BeanContext</tt>  child is avoiding using its GUI.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../../java/util/Iterator.html">Iterator</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#bcsChildren()">bcsChildren</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an iterator of all children  of this <tt>BeanContext</tt>.</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#bcsPreDeserializationHook(java.io.ObjectInputStream)">bcsPreDeserializationHook</A></B>(<A HREF="../../../java/io/ObjectInputStream.html">ObjectInputStream</A>&nbsp;ois)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;called by readObject after defaultReadObject() but prior to deserialization of any children.</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#bcsPreSerializationHook(java.io.ObjectOutputStream)">bcsPreSerializationHook</A></B>(<A HREF="../../../java/io/ObjectOutputStream.html">ObjectOutputStream</A>&nbsp;oos)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;called by writeObject after defaultWriteObject() but prior to serialization of currently serializable children.</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#childDeserializedHook(java.lang.Object, java.beans.beancontext.BeanContextSupport.BCSChild)">childDeserializedHook</A></B>(<A HREF="../../../java/lang/Object.html">Object</A>&nbsp;child,                      <A HREF="../../../java/beans/beancontext/BeanContextSupport.BCSChild.html">BeanContextSupport.BCSChild</A>&nbsp;bcsc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called by readObject with the newly deserialized child and BCSChild.</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#childJustAddedHook(java.lang.Object, java.beans.beancontext.BeanContextSupport.BCSChild)">childJustAddedHook</A></B>(<A HREF="../../../java/lang/Object.html">Object</A>&nbsp;child,                   <A HREF="../../../java/beans/beancontext/BeanContextSupport.BCSChild.html">BeanContextSupport.BCSChild</A>&nbsp;bcsc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;subclasses may override this method to simply extend add() semantics after the child has been added and before the event notification has occurred.</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#childJustRemovedHook(java.lang.Object, java.beans.beancontext.BeanContextSupport.BCSChild)">childJustRemovedHook</A></B>(<A HREF="../../../java/lang/Object.html">Object</A>&nbsp;child,                     <A HREF="../../../java/beans/beancontext/BeanContextSupport.BCSChild.html">BeanContextSupport.BCSChild</A>&nbsp;bcsc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;subclasses may override this method to simply extend remove() semantics after the child has been removed and before the event notification has occurred.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#classEquals(java.lang.Class, java.lang.Class)">classEquals</A></B>(<A HREF="../../../java/lang/Class.html">Class</A>&nbsp;first,            <A HREF="../../../java/lang/Class.html">Class</A>&nbsp;second)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tests to see if two class objects,  or their names are equal.</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#clear()">clear</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clear the 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;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#contains(java.lang.Object)">contains</A></B>(<A HREF="../../../java/lang/Object.html">Object</A>&nbsp;o)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines whether or not the specified object  is currently a child of 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#containsAll(java.util.Collection)">containsAll</A></B>(<A HREF="../../../java/util/Collection.html">Collection</A>&nbsp;c)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tests to see if all objects in the specified <tt>Collection</tt> are children of 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#containsKey(java.lang.Object)">containsKey</A></B>(<A HREF="../../../java/lang/Object.html">Object</A>&nbsp;o)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines whether or not the specified object  is currently a child of this <tt>BeanContext</tt>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../../java/lang/Object.html">Object</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#copyChildren()">copyChildren</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a copy of the this BeanContext's children.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../../java/beans/beancontext/BeanContextSupport.BCSChild.html">BeanContextSupport.BCSChild</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#createBCSChild(java.lang.Object, java.lang.Object)">createBCSChild</A></B>(<A HREF="../../../java/lang/Object.html">Object</A>&nbsp;targetChild,               <A HREF="../../../java/lang/Object.html">Object</A>&nbsp;peer)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Subclasses can override this method to insert their own subclass of Child without having to override add() or the other Collection methods that add children to the set.</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#deserialize(java.io.ObjectInputStream, java.util.Collection)">deserialize</A></B>(<A HREF="../../../java/io/ObjectInputStream.html">ObjectInputStream</A>&nbsp;ois,            <A HREF="../../../java/util/Collection.html">Collection</A>&nbsp;coll)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;used by readObject to deserialize 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#dontUseGui()">dontUseGui</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;notify this instance that it may no longer render a GUI.</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#fireChildrenAdded(java.beans.beancontext.BeanContextMembershipEvent)">fireChildrenAdded</A></B>(<A HREF="../../../java/beans/beancontext/BeanContextMembershipEvent.html">BeanContextMembershipEvent</A>&nbsp;bcme)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fire a BeanContextshipEvent on the BeanContextMembershipListener interface</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#fireChildrenRemoved(java.beans.beancontext.BeanContextMembershipEvent)">fireChildrenRemoved</A></B>(<A HREF="../../../java/beans/beancontext/BeanContextMembershipEvent.html">BeanContextMembershipEvent</A>&nbsp;bcme)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fire a BeanContextshipEvent on the BeanContextMembershipListener interface</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../java/beans/beancontext/BeanContext.html">BeanContext</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#getBeanContextPeer()">getBeanContextPeer</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the instance of <tt>BeanContext</tt> that this object is providing the implementation for.</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/beancontext/BeanContextChild.html">BeanContextChild</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#getChildBeanContextChild(java.lang.Object)">getChildBeanContextChild</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 BeanContextChild (if any) of the specified child</TD></TR>

⌨️ 快捷键说明

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