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