org.seasar.uruma.binding.enables
クラス EnablesDependingListenerFactory
java.lang.Object
org.seasar.uruma.binding.enables.EnablesDependingListenerFactory
public class EnablesDependingListenerFactory
- extends Object
EnablesDependingListener
を取得するためのファクトリクラスです。
- 作成者:
- y-komori
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getListener
public static EnablesDependingListener getListener(WidgetHandle target,
WidgetHandle enabled,
EnablesForType type)
target
のもつウィジットに対応する EnablesDependingListener
のインスタンスを取得します。
- パラメータ:
target
- ターゲットウィジットをもつ WidgetHandle
enabled
- イネーブル状態を変化させるウィジットをもつ WidgetHandle
type
- 選択状態を表す EnablesForType
- 戻り値:
EnablesDependingListener
のインスタンス
addListener
public static void addListener(Class<?> clazz,
Class<? extends EnablesDependingListener> listenerType)
clazz
に対応する EnablesDependingListener
の型マッピングを追加します。
- パラメータ:
clazz
- ターゲットの Class
オブジェクトlistenerType
- EnablesDependingListener
の型
Copyright © 2006-2008 The Seasar Foundation. All Rights Reserved.