|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
public interface UIComponent
レンダリング可能な画面要素を表すインターフェースです。
| メソッドの概要 | |
|---|---|
String |
getId()
ID を取得します。 |
UIComponentContainer |
getParent()
親となる UICompositeComponent を取得します。 |
Renderer |
getRenderer()
レンダラを取得します。 |
String |
getStyle()
スタイルを表す文字列を取得します。 |
void |
preRender(WidgetHandle parent,
WindowContext context)
設定されたレンダラを利用して、レンダリングを行います。 |
void |
render(WidgetHandle parent,
PartContext context)
設定されたレンダラを利用して、レンダリングを行います。 |
void |
setId(String id)
ID を設定します。 |
void |
setParent(UIComponentContainer parent)
親となる UICompositeComponent を設定します。 |
void |
setRenderer(Renderer renderer)
レンダラを設定します。 |
void |
setStyle(String style)
スタイルを表す文字列を設定します。 |
| インタフェース org.seasar.uruma.component.UIElement から継承されたメソッド |
|---|
getBasePath, getLocation, getPath, setBasePath, setLocation, setPath |
| インタフェース org.seasar.uruma.component.UIElementVisitorAcceptor から継承されたメソッド |
|---|
accept |
| メソッドの詳細 |
|---|
String getId()
void setId(String id)
id - IDString getStyle()
void setStyle(String style)
style - スタイルvoid setParent(UIComponentContainer parent)
UICompositeComponent を設定します。
parent - 親コンポーネントUIComponentContainer getParent()
UICompositeComponent を取得します。
Renderer getRenderer()
void setRenderer(Renderer renderer)
renderer - レンダラオブジェクト
void preRender(WidgetHandle parent,
WindowContext context)
具体的には以下のタイミングです。
UrumaApplicationWindow の場合
UrumaApplicationWindow#init() メソッド内 (createContent()
メソッドよりも前のタイミング
parent - 親となる WidgetHandle オブジェクトcontext - WindowContext オブジェクト
void render(WidgetHandle parent,
PartContext context)
UrumaApplicationWindow#createContents()
メソッドの中で呼び出されます。
parent - 親となる WidgetHandle オブジェクトcontext - PartContext オブジェクト
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||