org.seasar.jface.renderer.impl
クラス WindowRenderer
java.lang.Object
org.seasar.jface.renderer.impl.AbstractRenderer
org.seasar.jface.renderer.impl.AbstractWidgetRenderer<COMPONENT_TYPE,CONTROL_TYPE>
org.seasar.jface.renderer.impl.AbstractControlRenderer<COMPONENT_TYPE,COMPOSITE_TYPE>
org.seasar.jface.renderer.impl.AbstractCompositeRenderer<WindowComponent,Composite>
org.seasar.jface.renderer.impl.WindowRenderer
- すべての実装されたインタフェース:
- Renderer
public class WindowRenderer
- extends AbstractCompositeRenderer<WindowComponent,Composite>
Window
のレンダリングを行うためのクラスです。
- 作成者:
- y-komori
メソッドの概要 |
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,
Widget parent,
WindowContext context)
|
protected void |
doRenderComposite(WindowComponent compositeComponent,
Composite composite)
サブクラスでのレンダリングを行います。 |
protected int |
getDefaultStyle()
|
int |
getShellStyle(WindowComponent uiComponent)
|
protected Class<Composite> |
getWidgetType()
|
Widget |
render(UIComponent uiComponent,
Widget parent,
WindowContext context)
レンダリングを行います。 |
protected void |
setDefaultButton(WindowComponent windowComponent,
WindowContext context)
|
protected void |
setDefaultFocus(WindowComponent windowComponent,
WindowContext context)
|
protected void |
setLocation(ControlComponent controlComponent,
Control control)
|
protected void |
setMinimumSize(WindowComponent windowComponent,
Shell shell)
|
protected void |
setSize(ControlComponent controlComponent,
Control control)
|
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WindowRenderer
public WindowRenderer()
getShellStyle
public int getShellStyle(WindowComponent uiComponent)
render
public Widget render(UIComponent uiComponent,
Widget parent,
WindowContext context)
- インタフェース
Renderer
の記述:
- レンダリングを行います。
- 定義:
- インタフェース
Renderer
内の render
- オーバーライド:
- クラス
AbstractWidgetRenderer<WindowComponent,Composite>
内の render
- パラメータ:
uiComponent
- レンダリング対象の情報を持つ UIComponent
オブジェクトparent
- 親となる Widget
オブジェクトcontext
- 画面情報を収めた WindowContext
オブジェクト
- 戻り値:
- レンダリングしたウィジット
- 関連項目:
Widget
,
Composite
doRenderAfter
protected void doRenderAfter(Composite widget,
WindowComponent uiComponent,
Widget parent,
WindowContext context)
- オーバーライド:
- クラス
AbstractWidgetRenderer<WindowComponent,Composite>
内の doRenderAfter
configureShell
protected void configureShell(WindowComponent window,
Shell shell)
calcWidth
protected int calcWidth(String width)
calcHeight
protected int calcHeight(String height)
calcX
protected int calcX(WindowComponent window)
calcY
protected int calcY(WindowComponent window)
setDefaultButton
protected void setDefaultButton(WindowComponent windowComponent,
WindowContext context)
setDefaultFocus
protected void setDefaultFocus(WindowComponent windowComponent,
WindowContext context)
setMinimumSize
protected void setMinimumSize(WindowComponent windowComponent,
Shell shell)
getWidgetType
protected Class<Composite> getWidgetType()
- 定義:
- クラス
AbstractWidgetRenderer<WindowComponent,Composite>
内の getWidgetType
getDefaultStyle
protected int getDefaultStyle()
- オーバーライド:
- クラス
AbstractWidgetRenderer<WindowComponent,Composite>
内の getDefaultStyle
doRenderComposite
protected void doRenderComposite(WindowComponent compositeComponent,
Composite composite)
- クラス
AbstractCompositeRenderer
の記述:
- サブクラスでのレンダリングを行います。
AbstractCompositeRenderer
のサブクラスは、本メソッドをオーバーライドしてレンダリングを行ってください。
- 定義:
- クラス
AbstractCompositeRenderer<WindowComponent,Composite>
内の doRenderComposite
- パラメータ:
compositeComponent
- コンポジットの情報を持つコンポーネントcomposite
- レンダリング対象のコンポジット
setLocation
protected void setLocation(ControlComponent controlComponent,
Control control)
- オーバーライド:
- クラス
AbstractControlRenderer<WindowComponent,Composite>
内の setLocation
setSize
protected void setSize(ControlComponent controlComponent,
Control control)
- オーバーライド:
- クラス
AbstractControlRenderer<WindowComponent,Composite>
内の setSize
Copyright © 2006 The Seasar Foundation. All Rights Reserved.