org.seasar.uruma.binding.value.command
クラス ExportSelectionCommand

java.lang.Object
  上位を拡張 org.seasar.uruma.binding.value.command.AbstractBindingCommand<ExportSelection>
      上位を拡張 org.seasar.uruma.binding.value.command.ExportSelectionCommand
すべての実装されたインタフェース:
BindingCommand

public class ExportSelectionCommand
extends AbstractBindingCommand<ExportSelection>

ExportSelection アノテーションに対応した処理を行うための、BindingCommand です。

作成者:
y-komori

コンストラクタの概要
ExportSelectionCommand()
           
 
メソッドの概要
protected  void doBind(ValueBinder binder, Object widget, Object formObj, PropertyDesc propDesc, UIComponent uiComp)
          バインド処理を実行します。
protected  ExportSelection getAnnotation(Field field)
          フィールドからアノテーションを取り出します。
protected  String getId(ExportSelection annotation)
          アノテーションから id を取り出します。
 List<PropertyDesc> getTargetPropertyDescs(FormDesc desc)
          FormDesc からバインド対象フィールドの PropertyDesc を取得します。
 
クラス org.seasar.uruma.binding.value.command.AbstractBindingCommand から継承されたメソッド
doBind, getId
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ExportSelectionCommand

public ExportSelectionCommand()
メソッドの詳細

getTargetPropertyDescs

public List<PropertyDesc> getTargetPropertyDescs(FormDesc desc)
インタフェース BindingCommand の記述:
FormDesc からバインド対象フィールドの PropertyDesc を取得します。

パラメータ:
desc - FormDesc オブジェクト
戻り値:
バインド対象フィールドの PropertyDesc リスト

doBind

protected void doBind(ValueBinder binder,
                      Object widget,
                      Object formObj,
                      PropertyDesc propDesc,
                      UIComponent uiComp)
クラス AbstractBindingCommand の記述:
バインド処理を実行します。
本メソッドは、サブクラスで実装してください。
引数で渡された ValueBinder オブジェクトの適切なメソッドを呼び出して、バインド処理を実行してください。

定義:
クラス AbstractBindingCommand<ExportSelection> 内の doBind
パラメータ:
binder - ValueBinder オブジェクト
widget - バインド対象のウィジット側オブジェクト
formObj - バインド対象のフォーム側オブジェクト
propDesc - フォーム側のプロパティを表す PropertyDesc オブジェクト

getAnnotation

protected ExportSelection getAnnotation(Field field)
クラス AbstractBindingCommand の記述:
フィールドからアノテーションを取り出します。
本メソッドはサブクラスで実装してください。
引数で渡されたフィールドからアノテーションを取得して返してください。

定義:
クラス AbstractBindingCommand<ExportSelection> 内の getAnnotation
パラメータ:
field - アノテーションを取り出す Field オブジェクト
戻り値:
アノテーション

getId

protected String getId(ExportSelection annotation)
クラス AbstractBindingCommand の記述:
アノテーションから id を取り出します。
本メソッドはサブクラスで実装してください。
引数で渡されたアノテーションから id を取得して返してください。

定義:
クラス AbstractBindingCommand<ExportSelection> 内の getId
パラメータ:
annotation - アノテーション
戻り値:
id


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