org.seasar.jface.binding
インタフェース WidgetValueBinderCommand

既知の実装クラスの一覧:
AbstractWidgetValueBinderCommand, ExportSelectionCommand, ExportValueCommand, ImportSelectionCommand, ImportValueCommand

public interface WidgetValueBinderCommand

バインドの実行を行うためのインターフェースです。

作成者:
y-komori

メソッドの概要
 void doBind(Widget widget, Object target, Field field, WindowContext context)
          指定された WidgetValueBinder のメソッドを呼び出します。
 List<Field> getTargetFields(FormDesc desc)
          FormDesc からバインド対象のフィールドを取得します。
 void setWidgetValueBinder(WidgetValueBinder binder)
          WidgetValueBinder を設定します。
 

メソッドの詳細

setWidgetValueBinder

void setWidgetValueBinder(WidgetValueBinder binder)
WidgetValueBinder を設定します。

パラメータ:
binder - WidgetValueBinder オブジェクト。

doBind

void doBind(Widget widget,
            Object target,
            Field field,
            WindowContext context)
指定された WidgetValueBinder のメソッドを呼び出します。

パラメータ:
widget - Widget オブジェクト
target - ターゲットのオブジェクト
field - ターゲットの Field
context - WindowContext オブジェクト

getTargetFields

List<Field> getTargetFields(FormDesc desc)
FormDesc からバインド対象のフィールドを取得します。

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


Copyright © 2006 The Seasar Foundation. All Rights Reserved.