|
JavaTM 2 Platform Std. Ed. v1.3 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--java.beans.beancontext.BeanContextChildSupport
BeanContextChild プロトコルの実装をサポートするための一般的なサポートクラスです。 このクラスは、直接サブクラス化されるか、あるいはカプセル化されて委譲されることにより、指定されたコンポーネントに対してこのインタフェースを実装します。
フィールドの概要 | |
protected BeanContext |
beanContext
|
BeanContextChild |
beanContextChildPeer
この BeanContextChild が入れ子になる BeanContext です。 |
protected PropertyChangeSupport |
pcSupport
この BeanContextChildSupport に関連した PropertyChangeSupport です。 |
protected boolean |
rejectedSetBCOnce
setBeanContext 操作に対してスローされた PropertyChangeVetoException が少なくとも 1 つあることを示すフラグです。 |
protected VetoableChangeSupport |
vcSupport
この BeanContextChildSupport に関連した VetoableChangeSupport です。 |
コンストラクタの概要 | |
BeanContextChildSupport()
JavaBean コンポーネント自身を実装するためにこのクラスがサブクラス化された、BeanContextChildSupport を構築します。 |
|
BeanContextChildSupport(BeanContextChild bcc)
JavaBean コンポーネント自身が BeanContextChild を実装し、これをカプセル化している BeanContextChildSupport を構築します。 |
メソッドの概要 | |
void |
addPropertyChangeListener(String name,
PropertyChangeListener pcl)
プロパティ変更リスナーを追加します。 |
void |
addVetoableChangeListener(String name,
VetoableChangeListener vcl)
VetoableChangeListener を追加します。 |
void |
firePropertyChange(String name,
Object oldValue,
Object newValue)
登録されているリスナーに、バウンドプロパティの更新を通知します。 |
void |
fireVetoableChange(String name,
Object oldValue,
Object newValue)
拒否できるプロパティの更新について、登録されているリスナーに通知します。 |
BeanContext |
getBeanContext()
この BeanContextChildSupport の入れ子の BeanContext を取得します。 |
BeanContextChild |
getBeanContextChildPeer()
この BeanContextChildSupport に関連した BeanContextChild を取得します。 |
protected void |
initializeBeanContextResources()
このメソッドは、独自の初期化動作を提供するためにサブクラスによってオーバーライドされることがあります。 |
boolean |
isDelegated()
このクラスが他のクラスの委譲であるかどうかを報告します。 |
protected void |
releaseBeanContextResources()
このメソッドは、独自の解放動作を提供するためにサブクラスによってオーバーライドされることがあります。 |
void |
removePropertyChangeListener(String name,
PropertyChangeListener pcl)
プロパティ変更リスナーを削除します。 |
void |
removeVetoableChangeListener(String name,
VetoableChangeListener vcl)
VetoableChangeListener を削除します。 |
void |
serviceAvailable(BeanContextServiceAvailableEvent bcsae)
入れ子になっている BeanContext から新しいサービスを使用できます。 |
void |
serviceRevoked(BeanContextServiceRevokedEvent bcsre)
入れ子になっている BeanContext によって提供されるサービスが無効になっています。 |
void |
setBeanContext(BeanContext bc)
この BeanContextChildSupport の BeanContext を設定します。 |
boolean |
validatePendingSetBeanContext(BeanContext newValue)
入れ子になっている BeanContext プロパティ値の保留中の変更を検証したりするために setBeanContext から呼び出されます。 |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
public BeanContextChild beanContextChildPeer
BeanContextChild
が入れ子になる BeanContext
です。protected PropertyChangeSupport pcSupport
protected VetoableChangeSupport vcSupport
protected transient BeanContext beanContext
protected transient boolean rejectedSetBCOnce
PropertyChangeVetoException
が少なくとも 1 つあることを示すフラグです。コンストラクタの詳細 |
public BeanContextChildSupport()
public BeanContextChildSupport(BeanContextChild bcc)
メソッドの詳細 |
public void setBeanContext(BeanContext bc) throws PropertyVetoException
BeanContextChildSupport
の BeanContext
を設定します。BeanContextChild
内の setBeanContext
bc
- BeanContext
プロパティに割り当てる新しい値PropertyVetoException
- 変更が拒否された場合public BeanContext getBeanContext()
BeanContextChildSupport
の入れ子の BeanContext
を取得します。BeanContextChild
内の getBeanContext
BeanContextChildSupport
の入れ子の BeanContext
public void addPropertyChangeListener(String name, PropertyChangeListener pcl)
BeanContextChild
内の addPropertyChangeListener
name
- 待機するプロパティの名前pcl
- 追加する PropertyChangeListener
public void removePropertyChangeListener(String name, PropertyChangeListener pcl)
BeanContextChild
内の removePropertyChangeListener
name
- 待機していたプロパティの名前pcl
- 削除する PropertyChangeListenerpublic void addVetoableChangeListener(String name, VetoableChangeListener vcl)
VetoableChangeListener
を追加します。BeanContextChild
内の addVetoableChangeListener
name
- 待機しているプロパティの名前vcl
- 追加される VetoableChangeListener
public void removeVetoableChangeListener(String name, VetoableChangeListener vcl)
VetoableChangeListener
を削除します。BeanContextChild
内の removeVetoableChangeListener
name
- 待機していたプロパティの名前vcl
- 削除される VetoableChangeListener
public void serviceRevoked(BeanContextServiceRevokedEvent bcsre)
BeanContextServiceRevokedListener
内の serviceRevoked
bcsre
- サービスの取り消しによってトリガーされた BeanContextServiceRevokedEvent
public void serviceAvailable(BeanContextServiceAvailableEvent bcsae)
BeanContextServicesListener
内の serviceAvailable
bcsae
- サービスが使用可能になったためにトリガーされた BeanContextServiceAvailableEventpublic BeanContextChild getBeanContextChildPeer()
public boolean isDelegated()
public void firePropertyChange(String name, Object oldValue, Object newValue)
name
- 変更されたプロパティのプログラム名oldValue
- プロパティの古い値newValue
- プロパティの新しい値public void fireVetoableChange(String name, Object oldValue, Object newValue) throws PropertyVetoException
古い値と新しい値が等しくて null でない場合、イベントはトリガーされません。
name
- 変更されるプロパティのプログラム名oldValue
- プロパティの古い値newValue
- プロパティの新しい値PropertyVetoException
- 受け取り側でプロパティ変更のロールバックを指定している場合public boolean validatePendingSetBeanContext(BeanContext newValue)
newValue
- BeanContext プロパティに要求されている新しい値true
protected void releaseBeanContextResources()
protected void initializeBeanContextResources()
|
JavaTM 2 Platform Std. Ed. v1.3 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
Java、Java 2D、JDBC は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.