クラス
java.beans.PropertyVetoExceptionの使用
-
PropertyVetoExceptionを使用しているパッケージ パッケージ 説明 java.awt ユーザー・インタフェースの作成およびグラフィックスとイメージのペイント用のすべてのクラスを含みます。java.beans JavaBeans™アーキテクチャに基づいたコンポーネントであるBeanの開発に関連したクラスが含まれています。java.beans.beancontext Beanコンテキストに関連するクラスおよびインタフェースを提供します。javax.swing すべてのプラットフォーム上で可能なかぎり同じように機能する「軽量」(Java共通言語)コンポーネントのセットを提供します。 -
-
java.awtでのPropertyVetoExceptionの使用
PropertyVetoExceptionをスローするjava.awtのメソッド 修飾子と型 メソッド 説明 protected void
KeyboardFocusManager. fireVetoableChange(String propertyName, Object oldValue, Object newValue)
拒否可能プロパティの変更に応答してPropertyChangeEventをトリガーします。 -
java.beansでのPropertyVetoExceptionの使用
PropertyVetoExceptionをスローするjava.beansのメソッド 修飾子と型 メソッド 説明 void
VetoableChangeSupport. fireVetoableChange(PropertyChangeEvent event)
登録されているリスナーにプロパティ変更イベントをトリガーして、すべてのプロパティまたは指定された名前を持つプロパティの更新を追跡します。void
VetoableChangeSupport. fireVetoableChange(String propertyName, boolean oldValue, boolean newValue)
登録されているリスナーにboolean型の制約プロパティの更新を報告して、すべてのプロパティまたは指定された名前を持つプロパティの更新を追跡します。void
VetoableChangeSupport. fireVetoableChange(String propertyName, int oldValue, int newValue)
登録されているリスナーに整数型の制約プロパティの更新を報告して、すべてのプロパティまたは指定された名前を持つプロパティの更新を追跡します。void
VetoableChangeSupport. fireVetoableChange(String propertyName, Object oldValue, Object newValue)
登録されているリスナーに制約プロパティの更新を報告して、すべてのプロパティまたは指定された名前を持つプロパティの更新を追跡します。void
VetoableChangeListener. vetoableChange(PropertyChangeEvent evt)
制約プロパティの変更時に呼び出されます。void
VetoableChangeListenerProxy. vetoableChange(PropertyChangeEvent event)
プロパティ変更イベントをリスナー委譲に転送します。 -
java.beans.beancontextでのPropertyVetoExceptionの使用
PropertyVetoExceptionをスローするjava.beans.beancontextのメソッド 修飾子と型 メソッド 説明 void
BeanContextChildSupport. fireVetoableChange(String name, Object oldValue, Object newValue)
登録されているすべてのリスナーに拒否可能プロパティの更新を通知します。void
BeanContextChild. setBeanContext(BeanContext bc)
このインタフェースを実装するオブジェクトです。次のパラメータを使ってjava.beans.PropertyChangeEventをトリガーします。propertyName "beanContext"、oldValue (以前入れ子になっていたBeanContext
インスタンス、またはnull
)、newValue (現在入れ子になっているBeanContext
インスタンス、またはnull
)。void
BeanContextChildSupport. setBeanContext(BeanContext bc)
このBeanContextChildSupport
のBeanContext
を設定します。void
BeanContextSupport. setLocale(Locale newLocale)
このBeanContextのロケールを設定します。void
BeanContextSupport. vetoableChange(PropertyChangeEvent pce)
サブクラスは、子の拒否プロパティの変更を監視するために包括することがあります。 -
javax.swingでのPropertyVetoExceptionの使用
PropertyVetoExceptionをスローするjavax.swingのメソッド 修飾子と型 メソッド 説明 protected void
JComponent. fireVetoableChange(String propertyName, Object oldValue, Object newValue)
制約プロパティの変更の報告をサポートします。void
JInternalFrame. setClosed(boolean b)
引数がtrue
の場合はこの内部フレームを閉じます。void
JInternalFrame. setIcon(boolean b)
Look & Feelがアイコン化をサポートしている場合、この内部フレームをアイコン化またはアイコン化解除します。void
JInternalFrame. setMaximum(boolean b)
この内部フレームを最大化および復元します。void
JInternalFrame. setSelected(boolean selected)
内部フレームが表示されている場合に、その内部フレームを選択または選択解除します。
-