|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.uruma.binding.value.command.AbstractBindingCommand<ANNOTATION_CLASS>
ANNOTATION_CLASS - 対応するアノテーションpublic abstract class AbstractBindingCommand<ANNOTATION_CLASS extends Annotation>
BindingCommand の基底クラスです。
| コンストラクタの概要 | |
|---|---|
AbstractBindingCommand()
|
|
| メソッドの概要 | |
|---|---|
void |
doBind(Object widget,
Object formObj,
PropertyDesc propDesc,
UIComponent uiComp)
widget と formObj の間でバインド処理を行います。 |
protected abstract void |
doBind(ValueBinder binder,
Object widget,
Object formObj,
PropertyDesc propDesc,
UIComponent uiComp)
バインド処理を実行します。 |
protected abstract ANNOTATION_CLASS |
getAnnotation(Field field)
フィールドからアノテーションを取り出します。 |
protected abstract String |
getId(ANNOTATION_CLASS annotation)
アノテーションから id を取り出します。 |
String |
getId(Field field)
field に対応する id を取得します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| インタフェース org.seasar.uruma.binding.value.BindingCommand から継承されたメソッド |
|---|
getTargetPropertyDescs |
| コンストラクタの詳細 |
|---|
public AbstractBindingCommand()
| メソッドの詳細 |
|---|
public void doBind(Object widget,
Object formObj,
PropertyDesc propDesc,
UIComponent uiComp)
BindingCommand の記述: widget と formObj の間でバインド処理を行います。
BindingCommand 内の doBindwidget - ウィジット側オブジェクトformObj - フォーム側オブジェクトpropDesc - フォーム側のプロパティを表す PropertyDesc オブジェクトuiComp - コンポーネントpublic String getId(Field field)
BindingCommand の記述: field に対応する id を取得します。
BindingCommand 内の getIdfield - id を取得するフィールド
protected abstract void doBind(ValueBinder binder,
Object widget,
Object formObj,
PropertyDesc propDesc,
UIComponent uiComp)
ValueBinder オブジェクトの適切なメソッドを呼び出して、バインド処理を実行してください。
binder - ValueBinder オブジェクトwidget - バインド対象のウィジット側オブジェクトformObj - バインド対象のフォーム側オブジェクトpropDesc - フォーム側のプロパティを表す PropertyDesc オブジェクトprotected abstract String getId(ANNOTATION_CLASS annotation)
annotation - アノテーション
protected abstract ANNOTATION_CLASS getAnnotation(Field field)
field - アノテーションを取り出す Field オブジェクト
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||