📄 beancontextsupport.html
字号:
<BR> 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> peer, <A HREF="../../../java/util/Locale.html">Locale</A> lcle, boolean dTime, boolean visible)</CODE><BR> Construct a BeanContextSupport instance</TD></TR></TABLE> <!-- ========== 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> 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> targetChild)</CODE><BR> 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> 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> c)</CODE><BR> 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> 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> bcml)</CODE><BR> Adds a BeanContextMembershipListener</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#avoidingGui()">avoidingGui</A></B>()</CODE><BR> 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 <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> 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 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> ois)</CODE><BR> 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 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> oos)</CODE><BR> 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 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> child, <A HREF="../../../java/beans/beancontext/BeanContextSupport.BCSChild.html">BeanContextSupport.BCSChild</A> bcsc)</CODE><BR> 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 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> child, <A HREF="../../../java/beans/beancontext/BeanContextSupport.BCSChild.html">BeanContextSupport.BCSChild</A> bcsc)</CODE><BR> 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 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> child, <A HREF="../../../java/beans/beancontext/BeanContextSupport.BCSChild.html">BeanContextSupport.BCSChild</A> bcsc)</CODE><BR> 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 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> first, <A HREF="../../../java/lang/Class.html">Class</A> second)</CODE><BR> 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#clear()">clear</A></B>()</CODE><BR> 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> 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> o)</CODE><BR> 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> 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> c)</CODE><BR> 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> 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> o)</CODE><BR> 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 <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> 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 <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> targetChild, <A HREF="../../../java/lang/Object.html">Object</A> peer)</CODE><BR> 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 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> ois, <A HREF="../../../java/util/Collection.html">Collection</A> coll)</CODE><BR> 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/beans/beancontext/BeanContextSupport.html#dontUseGui()">dontUseGui</A></B>()</CODE><BR> 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 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> bcme)</CODE><BR> 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 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> bcme)</CODE><BR> 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> <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> 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 <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> child)</CODE><BR> Gets the BeanContextChild (if any) of the specified child</TD></TR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -