クラス
java.beans.beancontext.BeanContextSupport.BCSChildの使用
BeanContextSupport.BCSChildを使用するパッケージ
-
java.beans.beancontextでのBeanContextSupport.BCSChildの使用
修飾子と型クラス説明protected class
children
ハッシュ表内の子ごとの情報を含む保護されたネストされたクラス。型BeanContextSupport.BCSChildの型パラメータを持つjava.beans.beancontextのフィールド修飾子と型フィールド説明protected HashMap
<Object, BeanContextSupport.BCSChild> BeanContextSupport.children
protected HashMap children
フィールドへのすべてのアクセスは、そのオブジェクトで同期されます。修飾子と型メソッド説明protected BeanContextSupport.BCSChild
BeanContextServicesSupport.createBCSChild
(Object targetChild, Object peer) サブクラスはこのメソッドをオーバーライドすることにより、セットに子を追加するadd()メソッドやほかのCollectionメソッドをオーバーライドすることなく、Childの独自のサブクラスを挿入することができます。protected BeanContextSupport.BCSChild
BeanContextSupport.createBCSChild
(Object targetChild, Object peer) サブクラスはこのメソッドをオーバーライドすることにより、セットに子を追加するadd()メソッドやほかのCollectionメソッドをオーバーライドすることなく、Childの独自のサブクラスを挿入することができます。型BeanContextSupport.BCSChildの引数を持つ型を返すjava.beans.beancontextのメソッド修飾子と型メソッド説明protected Iterator
<BeanContextSupport.BCSChild> BeanContextSupport.bcsChildren()
このBeanContext
のすべての子イテレータを返します。型BeanContextSupport.BCSChildのパラメータを持つjava.beans.beancontextのメソッド修飾子と型メソッド説明protected void
BeanContextSupport.childDeserializedHook
(Object child, BeanContextSupport.BCSChild bcsc) 新しく直列化復元された子およびBCSChildを使ってreadObjectによって呼び出されます。protected void
BeanContextSupport.childJustAddedHook
(Object child, BeanContextSupport.BCSChild bcsc) サブクラスはこのメソッドをオーバーライドして、子が追加されて、イベント通知が発生する前に、簡単にadd()セマンティックスを拡張できます。protected void
BeanContextServicesSupport.childJustRemovedHook
(Object child, BeanContextSupport.BCSChild bcsc) 子が正常に削除された後で、スーパー・クラスの子削除操作から呼び出されます。子が同期された状態で呼び出されます。protected void
BeanContextSupport.childJustRemovedHook
(Object child, BeanContextSupport.BCSChild bcsc) サブクラスはこのメソッドをオーバーライドして、子が削除されて、イベント通知が発生する前に、簡単にremove()セマンティックスを拡張できます。