|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.uruma.renderer.impl.AbstractRenderer
public abstract class AbstractRenderer
Renderer の基底クラスです。
| コンストラクタの概要 | |
|---|---|
AbstractRenderer()
|
|
| メソッドの概要 | |
|---|---|
protected WidgetHandle |
createWidgetHandle(UIComponent uiComponent,
Object widget)
WidgetHandle の実装クラスを生成して返します。 |
protected PartContext |
getContext()
PartContext を取得します。 |
protected int |
getDefaultStyle()
スタイル属性が指定されていない場合のデフォルト値を返します。 |
protected int |
getStyle(UIComponent uiComponent)
UIComponent の保持する文字列のスタイル属性を int 値に変換します。 |
protected WindowContext |
getWindowContext()
WindowContext を取得します。 |
WidgetHandle |
preRender(UIComponent uiComponent,
WidgetHandle parent,
WindowContext context)
レンダリングを行います。 |
void |
reRender(WidgetHandle widget)
一度レンダリングしたウィジットに対する再レンダリングを行います。 |
protected void |
setContext(PartContext context)
PartContext を設定します。 |
protected void |
setupEnablesDependingDef(WidgetHandle handle,
EnablesDependable dependable)
EnablesDependingDef のセットアップを行います。 |
protected void |
setWindowContext(WindowContext context)
WindowContext を設定します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| インタフェース org.seasar.uruma.renderer.Renderer から継承されたメソッド |
|---|
render, renderAfter |
| コンストラクタの詳細 |
|---|
public AbstractRenderer()
| メソッドの詳細 |
|---|
public WidgetHandle preRender(UIComponent uiComponent,
WidgetHandle parent,
WindowContext context)
Renderer の記述:
本メソッドは、UIComponent.preRender(WidgetHandle, org.seasar.uruma.context.WindowContext)
の内部から呼び出されます。
Renderer 内の preRenderuiComponent - レンダリング対象の情報を持つ UIComponent オブジェクトparent - 親となる WidgetHandle オブジェクトcontext - 画面情報を収めた WindowContext オブジェクト
public void reRender(WidgetHandle widget)
Renderer の記述: UIComponent が保持する情報をウィジットに対して再度反映させる処理のことです。UIComponent の属性を変更し、変更対象のウィジットと
UIComponent を保持する WidgetHandle を本メソッドの引数として渡してください。
Renderer 内の reRenderwidget - 再レンダリング対象のウィジットと UIComponent を保持する
WidgetHandle オブジェクトprotected WindowContext getWindowContext()
WindowContext を取得します。
WindowContext オブジェクトprotected void setWindowContext(WindowContext context)
WindowContext を設定します。
context - WindowContext オブジェクトprotected PartContext getContext()
PartContext を取得します。
PartContext オブジェクトprotected void setContext(PartContext context)
PartContext を設定します。
context - PartContext オブジェクト
protected WidgetHandle createWidgetHandle(UIComponent uiComponent,
Object widget)
WidgetHandle の実装クラスを生成して返します。
uiComponent - WidgetHandle へ格納する UIComponent オブジェクトwidget - WidgetHandle へ格納するオブジェクト
WidgetHandleprotected int getStyle(UIComponent uiComponent)
UIComponent の保持する文字列のスタイル属性を int 値に変換します。
uiComponent - UIComponent オブジェクト
protected int getDefaultStyle()
SWT.NONE を返します。
protected void setupEnablesDependingDef(WidgetHandle handle,
EnablesDependable dependable)
EnablesDependingDef のセットアップを行います。
handle - WidgetHandle オブジェクトdependable - EnablesDependable コンポーネント
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||