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

既知の実装クラスの一覧:
AbstractWidgetValueBinder, ComboValueBinder, TableValueBinder, WidgetPropertyValueBinder

public interface WidgetValueBinder

Widget 毎の ValueBinding を実現するためのインターフェースです。

本インターフェースの実装クラスは、ValueBinder によって利用されます。

作成者:
y-komori

メソッドの概要
 void exportSelection(Object srcObject, Field srcField, Widget dest, WindowContext context)
          フィールドのオブジェクトでウィジットを選択状態にします。
 void exportValue(Object srcObject, Field srcField, Widget dest, WindowContext context)
          フィールドからウィジットへ値を設定します。
 Class<? extends Widget> getWidgetType()
          対応するウィジットの型を返します。
 void importSelection(Widget src, Object destObject, Field destField, WindowContext context)
          ウィジットで選択されているオブジェクトをフィールドへ設定します。
 void importValue(Widget src, Object destObject, Field destField, WindowContext context)
          ウィジットからフィールドへ値を設定します。
 

メソッドの詳細

importValue

void importValue(Widget src,
                 Object destObject,
                 Field destField,
                 WindowContext context)
ウィジットからフィールドへ値を設定します。

パラメータ:
src - 設定元 Widget
destObject - 設定先オブジェクト
destField - 設定先 Field
context - WindowContext オブジェクト

exportValue

void exportValue(Object srcObject,
                 Field srcField,
                 Widget dest,
                 WindowContext context)
フィールドからウィジットへ値を設定します。

パラメータ:
srcObject - 設定元オブジェクト
srcField - 設定元 Field
dest - 設定先 Widget
context - WindowContext オブジェクト

importSelection

void importSelection(Widget src,
                     Object destObject,
                     Field destField,
                     WindowContext context)
ウィジットで選択されているオブジェクトをフィールドへ設定します。

パラメータ:
src - 選択状態にある Widget
destObject - 設定先オブジェクト
destField - 設定先 Field
context - WindowContext オブジェクト

exportSelection

void exportSelection(Object srcObject,
                     Field srcField,
                     Widget dest,
                     WindowContext context)
フィールドのオブジェクトでウィジットを選択状態にします。

パラメータ:
srcObject - 設定元オブジェクト
srcField - 設定元 Field
dest - 設定先 Widget
context - WindowContext オブジェクト

getWidgetType

Class<? extends Widget> getWidgetType()
対応するウィジットの型を返します。

戻り値:
ウィジットの型


Copyright © 2006 The Seasar Foundation. All Rights Reserved.