|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.uruma.renderer.impl.AbstractRenderer
org.seasar.uruma.renderer.impl.AbstractWidgetRenderer<COMPONENT_TYPE,CONTROL_TYPE>
org.seasar.uruma.renderer.impl.AbstractControlRenderer<COMPONENT_TYPE,COMPOSITE_TYPE>
org.seasar.uruma.renderer.impl.AbstractCompositeRenderer<WindowComponent,Composite>
org.seasar.uruma.renderer.impl.WindowRenderer
public class WindowRenderer
Window のレンダリングを行うためのクラスです。
| コンストラクタの概要 | |
|---|---|
WindowRenderer()
|
|
| メソッドの概要 | |
|---|---|
protected int |
calcHeight(String height)
|
protected int |
calcWidth(String width)
|
protected int |
calcX(WindowComponent window)
|
protected int |
calcY(WindowComponent window)
|
protected void |
configureShell(WindowComponent window,
Shell shell)
|
protected void |
doRenderAfter(Composite widget,
WindowComponent uiComponent,
WidgetHandle parent,
PartContext context)
子のレンダリング終了後にレンダリング処理を行います。 |
protected void |
doRenderComposite(WindowComponent compositeComponent,
Composite composite)
サブクラスでのレンダリングを行います。 |
protected int |
getDefaultStyle()
スタイル属性が指定されていない場合のデフォルト値を返します。 |
int |
getShellStyle(WindowComponent uiComponent)
Shell のスタイルを返します。 |
protected Class<Composite> |
getWidgetType()
生成するウィジットの型を返します。 |
WidgetHandle |
render(UIComponent uiComponent,
WidgetHandle parent,
PartContext context)
レンダリングを行います。 |
protected void |
setDefaultButton(WindowComponent windowComponent,
PartContext context)
|
protected void |
setDefaultFocus(WindowComponent windowComponent,
PartContext context)
|
protected void |
setLocation(ControlComponent controlComponent,
Control control)
|
protected void |
setMenu(ControlComponent controlComponent,
Control control)
|
protected void |
setMinimumSize(WindowComponent windowComponent,
Shell shell)
|
protected void |
setSize(ControlComponent controlComponent,
Control control)
|
| クラス org.seasar.uruma.renderer.impl.AbstractCompositeRenderer から継承されたメソッド |
|---|
doRenderControl, inherit, inheritCommonAttributes, setLayout |
| クラス org.seasar.uruma.renderer.impl.AbstractControlRenderer から継承されたメソッド |
|---|
doRender, getParentComponent, getParentLayoutDataInfo, inheritLayoutData, setCommonAttributes, setFont, setLayoutData |
| クラス org.seasar.uruma.renderer.impl.AbstractWidgetRenderer から継承されたメソッド |
|---|
createWidget, peekRenderingContext, popRenderingContext, pushRenderingContext, renderAfter, renderWidget, reRender |
| クラス org.seasar.uruma.renderer.impl.AbstractRenderer から継承されたメソッド |
|---|
createWidgetHandle, getContext, getStyle, getWindowContext, preRender, setContext, setupEnablesDependingDef, setWindowContext |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public WindowRenderer()
| メソッドの詳細 |
|---|
public int getShellStyle(WindowComponent uiComponent)
Shell のスタイルを返します。
uiComponent - WindowComponent オブジェクト
public WidgetHandle render(UIComponent uiComponent,
WidgetHandle parent,
PartContext context)
Renderer の記述:
Renderer 内の renderAbstractWidgetRenderer<WindowComponent,Composite> 内の renderuiComponent - レンダリング対象の情報を持つ UIComponent オブジェクトparent - 親となる WidgetHandle オブジェクトcontext - 画面情報を収めた PartContext オブジェクト
protected void doRenderAfter(Composite widget,
WindowComponent uiComponent,
WidgetHandle parent,
PartContext context)
AbstractWidgetRenderer の記述:
AbstractWidgetRenderer<WindowComponent,Composite> 内の doRenderAfterwidget - レンダリング対象ウィジットuiComponent - レンダリング対象の UIComponent オブジェクトparent - 親のウィジットハンドルcontext - PartContext オブジェクト
protected void configureShell(WindowComponent window,
Shell shell)
protected int calcWidth(String width)
protected int calcHeight(String height)
protected int calcX(WindowComponent window)
protected int calcY(WindowComponent window)
protected void setDefaultButton(WindowComponent windowComponent,
PartContext context)
protected void setDefaultFocus(WindowComponent windowComponent,
PartContext context)
protected void setMinimumSize(WindowComponent windowComponent,
Shell shell)
protected Class<Composite> getWidgetType()
AbstractWidgetRenderer の記述:
AbstractWidgetRenderer<WindowComponent,Composite> 内の getWidgetTypeprotected int getDefaultStyle()
AbstractRenderer の記述: SWT.NONE を返します。
AbstractRenderer 内の getDefaultStyle
protected void doRenderComposite(WindowComponent compositeComponent,
Composite composite)
AbstractCompositeRenderer の記述:
AbstractCompositeRenderer のサブクラスは、本メソッドをオーバーライドしてレンダリングを行ってください。
AbstractCompositeRenderer<WindowComponent,Composite> 内の doRenderCompositecompositeComponent - コンポジットの情報を持つコンポーネントcomposite - レンダリング対象のコンポジット
protected void setLocation(ControlComponent controlComponent,
Control control)
AbstractControlRenderer<WindowComponent,Composite> 内の setLocation
protected void setSize(ControlComponent controlComponent,
Control control)
AbstractControlRenderer<WindowComponent,Composite> 内の setSize
protected void setMenu(ControlComponent controlComponent,
Control control)
AbstractControlRenderer<WindowComponent,Composite> 内の setMenu
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||