|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.uruma.component.base.AbstractUIElement
org.seasar.uruma.component.base.AbstractUIComponent
org.seasar.uruma.component.jface.ControlComponent
org.seasar.uruma.component.jface.CompositeComponent
public class CompositeComponent
Composite に対応するコンポーネントです。
| フィールドの概要 |
|---|
| クラス org.seasar.uruma.component.jface.ControlComponent から継承されたフィールド |
|---|
background, backgroundImage, enabled, enablesDependingId, enablesFor, fontHeight, fontName, fontStyle, foreground, height, menu, toolTipText, visible, width, x, y |
| コンストラクタの概要 | |
|---|---|
CompositeComponent()
|
|
| メソッドの概要 | |
|---|---|
void |
accept(UIElementVisitor visitor)
UIElementVisitor の訪問を受け入れます。 |
void |
addChild(UIElement child)
子となる UIComponent を追加します。 |
protected void |
doPreRender(WidgetHandle parent,
WindowContext context)
レンダラ呼び出し中に独自のレンダリング処理を追加するためのメソッドです。 |
protected void |
doRender(WidgetHandle parent,
PartContext context)
レンダラ呼び出し中に独自のレンダリング処理を追加するためのメソッドです。 |
LayoutDataInfo |
getChildLayoutDataInfo()
子コンポーネントの LayoutDataInfo を取得します。 |
List<UIElement> |
getChildren()
子コンポーネントのリストを取得します。 |
CommonAttributes |
getCommonAttributes()
一括設定属性オブジェクトを取得します。 |
LayoutInfo<?> |
getLayoutInfo()
レイアウトデータオブジェクトを取得します。 |
protected void |
preRenderChild(WidgetHandle parent,
WindowContext context)
子コンポーネントのプリレンダリングを行います。 |
protected void |
renderChild(WidgetHandle parent,
PartContext context)
子コンポーネントのレンダリングを行います。 |
void |
setChildLayoutDataInfo(LayoutDataInfo childLayoutDataInfo)
子コンポーネントの LayoutDataInfo を設定します。 |
void |
setCommonAttributes(CommonAttributes commonAttributes)
一括設定属性オブジェクトを設定します。 |
void |
setLayoutInfo(LayoutInfo<?> layoutInfo)
レイアウトデータオブジェクトを設定します。 |
| クラス org.seasar.uruma.component.jface.ControlComponent から継承されたメソッド |
|---|
getEnablesDependingId, getEnablesFor, getLayoutDataInfo, setEnablesDependingId, setEnablesFor, setLayoutDataInfo |
| クラス org.seasar.uruma.component.base.AbstractUIComponent から継承されたメソッド |
|---|
getId, getParent, getRenderer, getStyle, preRender, render, setId, setParent, setRenderer, setStyle, toString |
| クラス org.seasar.uruma.component.base.AbstractUIElement から継承されたメソッド |
|---|
getBasePath, getLocation, getPath, setBasePath, setLocation, setPath |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| インタフェース org.seasar.uruma.component.UIComponent から継承されたメソッド |
|---|
getId, getParent, getRenderer, getStyle, preRender, render, setId, setParent, setRenderer, setStyle |
| インタフェース org.seasar.uruma.component.UIElement から継承されたメソッド |
|---|
getBasePath, getLocation, getPath, setBasePath, setLocation, setPath |
| インタフェース org.seasar.uruma.component.UIElement から継承されたメソッド |
|---|
getBasePath, getLocation, getPath, setBasePath, setLocation, setPath |
| コンストラクタの詳細 |
|---|
public CompositeComponent()
| メソッドの詳細 |
|---|
public LayoutInfo<?> getLayoutInfo()
UICompositeComponent の記述:
UICompositeComponent 内の getLayoutInfopublic void setLayoutInfo(LayoutInfo<?> layoutInfo)
UICompositeComponent の記述:
UICompositeComponent 内の setLayoutInfolayoutInfo - レイアウトデータオブジェクトpublic LayoutDataInfo getChildLayoutDataInfo()
LayoutDataInfo を取得します。
LayoutDataInfopublic void setChildLayoutDataInfo(LayoutDataInfo childLayoutDataInfo)
LayoutDataInfo を設定します。
childLayoutDataInfo - 子コンポーネントの LayoutDataInfopublic CommonAttributes getCommonAttributes()
UICompositeComponent の記述:
UICompositeComponent 内の getCommonAttributespublic void setCommonAttributes(CommonAttributes commonAttributes)
UICompositeComponent の記述:
UICompositeComponent 内の setCommonAttributescommonAttributes - 一括設定属性オブジェクトpublic void addChild(UIElement child)
UIElementContainer の記述: UIComponent を追加します。
UIElementContainer 内の addChildchild - 子コンポーネントpublic List<UIElement> getChildren()
UIElementContainer の記述:
UIElementContainer 内の getChildren
protected void doPreRender(WidgetHandle parent,
WindowContext context)
AbstractUIComponent の記述:
本メソッドは AbstractUIComponent.preRender(WidgetHandle, WindowContext)
メソッドの中で、レンダラ の
Renderer.preRender(UIComponent, WidgetHandle, WindowContext)
メソッドを呼び出した後に呼び出されます。
このタイミングでサブクラスで独自のレンダリング処理を行う場合、本メソッドをオーバーライドしてください。
AbstractUIComponent 内の doPreRenderparent - 親 WidgetHandle オブジェクトcontext - WindowContext オブジェクト
protected void doRender(WidgetHandle parent,
PartContext context)
AbstractUIComponent の記述:
本メソッドは AbstractUIComponent.renderer メソッドの中で、レンダラ
の
render()
メソッドと
renderAfter()
メソッドを呼び出す間に呼び出されます。
このタイミングでサブクラスで独自のレンダリング処理を行う場合、本メソッドをオーバーライドしてください。
AbstractUIComponent 内の doRenderparent - 親 WidgetHandle オブジェクトcontext - PartContext オブジェクトpublic void accept(UIElementVisitor visitor)
UIElementVisitorAcceptor の記述: UIElementVisitor の訪問を受け入れます。
UIElementVisitorAcceptor 内の acceptAbstractUIElement 内の acceptvisitor - UIElementVisitor オブジェクト
protected void preRenderChild(WidgetHandle parent,
WindowContext context)
parent - 親 WidgetHandlecontext - WindowContext オブジェクト
protected void renderChild(WidgetHandle parent,
PartContext context)
parent - 親 WidgetHandlecontext - PartContext オブジェクト
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||