org.seasar.uruma.component.jface
クラス CompositeComponent

java.lang.Object
  上位を拡張 org.seasar.uruma.component.base.AbstractUIElement
      上位を拡張 org.seasar.uruma.component.base.AbstractUIComponent
          上位を拡張 org.seasar.uruma.component.jface.ControlComponent
              上位を拡張 org.seasar.uruma.component.jface.CompositeComponent
すべての実装されたインタフェース:
EnablesDependable, UIComponent, UIComponentContainer, UICompositeComponent, UIControlComponent, UIElement, UIElementContainer
直系の既知のサブクラス:
CanvasComponent, CoolBarComponent, CTabFolderComponent, GroupComponent, PartConfigurationElement, SashFormComponent, SimpleItemCompositeComponent, SpinnerComponent, TabFolderComponent, TableComponent, ToolBarComponent, TreeComponent, WindowComponent

public class CompositeComponent
extends ControlComponent
implements UICompositeComponent

Composite に対応するコンポーネントです。

作成者:
y-komori

コンストラクタの概要
CompositeComponent()
           
 
メソッドの概要
 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 から継承されたメソッド
getBackground, getBackgroundImage, getEnabled, getEnablesDependingId, getEnablesFor, getFontHeight, getFontName, getFontStyle, getForeground, getHeight, getLayoutDataInfo, getMenu, getToolTipText, getVisible, getWidth, getX, getY, setBackground, setBackgroundImage, setEnabled, setEnablesDependingId, setEnablesFor, setFontHeight, setFontName, setFontStyle, setForeground, setHeight, setLayoutDataInfo, setMenu, setToolTipText, setVisible, setWidth, setX, setY
 
クラス org.seasar.uruma.component.base.AbstractUIComponent から継承されたメソッド
getId, getParent, getRenderer, getStyle, preRender, render, setId, setParent, setRenderer, setStyle
 
クラス org.seasar.uruma.component.base.AbstractUIElement から継承されたメソッド
getBasePath, getLocation, getPath, setBasePath, setLocation, setPath
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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
 

コンストラクタの詳細

CompositeComponent

public CompositeComponent()
メソッドの詳細

getLayoutInfo

public LayoutInfo<?> getLayoutInfo()
インタフェース UICompositeComponent の記述:
レイアウトデータオブジェクトを取得します。

定義:
インタフェース UICompositeComponent 内の getLayoutInfo
戻り値:
レイアウトデータオブジェクト

setLayoutInfo

public void setLayoutInfo(LayoutInfo<?> layoutInfo)
インタフェース UICompositeComponent の記述:
レイアウトデータオブジェクトを設定します。

定義:
インタフェース UICompositeComponent 内の setLayoutInfo
パラメータ:
layoutInfo - レイアウトデータオブジェクト

getChildLayoutDataInfo

public LayoutDataInfo getChildLayoutDataInfo()
子コンポーネントの LayoutDataInfo を取得します。

戻り値:
子コンポーネントの LayoutDataInfo

setChildLayoutDataInfo

public void setChildLayoutDataInfo(LayoutDataInfo childLayoutDataInfo)
子コンポーネントの LayoutDataInfo を設定します。

パラメータ:
childLayoutDataInfo - 子コンポーネントの LayoutDataInfo

getCommonAttributes

public CommonAttributes getCommonAttributes()
インタフェース UICompositeComponent の記述:
一括設定属性オブジェクトを取得します。

定義:
インタフェース UICompositeComponent 内の getCommonAttributes
戻り値:
一括設定属性オブジェクト

setCommonAttributes

public void setCommonAttributes(CommonAttributes commonAttributes)
インタフェース UICompositeComponent の記述:
一括設定属性オブジェクトを設定します。

定義:
インタフェース UICompositeComponent 内の setCommonAttributes
パラメータ:
commonAttributes - 一括設定属性オブジェクト

addChild

public void addChild(UIElement child)
インタフェース UIElementContainer の記述:
子となる UIComponent を追加します。

定義:
インタフェース UIElementContainer 内の addChild
パラメータ:
child - 子コンポーネント

getChildren

public List<UIElement> getChildren()
インタフェース UIElementContainer の記述:
子コンポーネントのリストを取得します。

定義:
インタフェース UIElementContainer 内の getChildren
戻り値:
子コンポーネントのリスト

doPreRender

protected void doPreRender(WidgetHandle parent,
                           WindowContext context)
クラス AbstractUIComponent の記述:
レンダラ呼び出し中に独自のレンダリング処理を追加するためのメソッドです。

本メソッドは AbstractUIComponent.preRender(WidgetHandle, WindowContext) メソッドの中で、レンダラRenderer.preRender(UIComponent, WidgetHandle, WindowContext) メソッドを呼び出した後に呼び出されます。

このタイミングでサブクラスで独自のレンダリング処理を行う場合、本メソッドをオーバーライドしてください。

オーバーライド:
クラス AbstractUIComponent 内の doPreRender
パラメータ:
parent - 親 WidgetHandle オブジェクト
context - WindowContext オブジェクト

doRender

protected void doRender(WidgetHandle parent,
                        PartContext context)
クラス AbstractUIComponent の記述:
レンダラ呼び出し中に独自のレンダリング処理を追加するためのメソッドです。

本メソッドは AbstractUIComponent.renderer メソッドの中で、レンダラrender() メソッドと renderAfter() メソッドを呼び出す間に呼び出されます。

このタイミングでサブクラスで独自のレンダリング処理を行う場合、本メソッドをオーバーライドしてください。

オーバーライド:
クラス AbstractUIComponent 内の doRender
パラメータ:
parent - 親 WidgetHandle オブジェクト
context - PartContext オブジェクト

preRenderChild

protected void preRenderChild(WidgetHandle parent,
                              WindowContext context)
子コンポーネントのプリレンダリングを行います。

パラメータ:
parent - 親 WidgetHandle
context - WindowContext オブジェクト

renderChild

protected void renderChild(WidgetHandle parent,
                           PartContext context)
子コンポーネントのレンダリングを行います。

パラメータ:
parent - 親 WidgetHandle
context - PartContext オブジェクト


Copyright © 2006-2007 The Seasar Foundation. All Rights Reserved.