org.seasar.uruma.binding.enables
クラス EnablesDependingListener

java.lang.Object
  上位を拡張 org.seasar.uruma.binding.enables.EnablesDependingListener
直系の既知のサブクラス:
ViewerEnablesDependingListener

public abstract class EnablesDependingListener
extends Object

自ウィジットの選択状態によってターゲットのイネーブル状態を変更するためのリスナーインターフェースです。

作成者:
y-komori

フィールドの概要
protected  WidgetHandle enabled
           
protected static String ENABLED_PROPERTY_NAME
           
protected  PropertyDesc enabledProperty
           
protected  WidgetHandle target
           
protected  EnablesForType type
           
 
コンストラクタの概要
protected EnablesDependingListener(WidgetHandle target, WidgetHandle enabled, EnablesForType type)
          EnablesDependingListener を構築します。
 
メソッドの概要
protected abstract  void setupListener()
          コンストラクタで設定されたターゲットに対してリスナーを生成します。
protected abstract  void updateEnableState()
          イネーブル状態を最新にします。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

target

protected WidgetHandle target

enabled

protected WidgetHandle enabled

type

protected EnablesForType type

enabledProperty

protected PropertyDesc enabledProperty

ENABLED_PROPERTY_NAME

protected static final String ENABLED_PROPERTY_NAME
関連項目:
定数フィールド値
コンストラクタの詳細

EnablesDependingListener

protected EnablesDependingListener(WidgetHandle target,
                                   WidgetHandle enabled,
                                   EnablesForType type)
EnablesDependingListener を構築します。

パラメータ:
target - ターゲットの WidgetHandle
enabled - イネーブル状態を変更するウィジットの WidgetHandle
type - 選択条件を表す EnablesForType
メソッドの詳細

setupListener

protected abstract void setupListener()
コンストラクタで設定されたターゲットに対してリスナーを生成します。
本メソッドはサブクラスで実装してください。


updateEnableState

protected abstract void updateEnableState()
イネーブル状態を最新にします。



Copyright © 2006-2008 The Seasar Foundation. All Rights Reserved.