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

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

public class CompositeComponent
extends ControlComponent
implements UICompositeComponent

作成者:
y-komori

コンストラクタの概要
CompositeComponent()
           
 
メソッドの概要
 void addChild(UIComponent child)
          子となる UIComponent を追加します。
protected  void doRender(Widget parent, WindowContext context)
          レンダラ呼び出し中に独自のレンダリング処理を追加するためのメソッドです。
 LayoutDataInfo getChildLayoutDataInfo()
           
 List<UIComponent> getChildren()
          子コンポーネントのリストを取得します。
 CommonAttributes getCommonAttributes()
          一括設定属性オブジェクトを取得します。
 LayoutInfo getLayoutInfo()
          レイアウトデータオブジェクトを取得します。
protected  void renderChild(Widget parent, WindowContext context)
           
 void setChildLayoutDataInfo(LayoutDataInfo childLayoutDataInfo)
           
 void setCommonAttributes(CommonAttributes commonAttributes)
          一括設定属性オブジェクトを設定します。
 void setLayoutInfo(LayoutInfo layoutInfo)
          レイアウトデータオブジェクトを設定します。
 
クラス org.seasar.jface.component.impl.ControlComponent から継承されたメソッド
getBackground, getBackgroundImage, getEnabled, getEnabledDependId, getEnabledDependType, getFontHeight, getFontName, getFontStyle, getForeground, getHeight, getLayoutDataInfo, getToolTipText, getVisible, getWidth, getX, getY, setBackground, setBackgroundImage, setEnabled, setEnabledDependId, setEnabledDependType, setFontHeight, setFontName, setFontStyle, setForeground, setHeight, setLayoutDataInfo, setToolTipText, setVisible, setWidth, setX, setY
 
クラス org.seasar.jface.component.impl.AbstractUIComponent から継承されたメソッド
getId, getMenu, getParent, getRenderer, getReplace, getStyle, getWidget, render, renderMenu, setId, setMenu, setParent, setRenderer, setReplace, setStyle, setWidget
 
クラス org.seasar.jface.component.impl.AbstractUIElement から継承されたメソッド
getBasePath, getLocation, setBasePath, setLocation
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース org.seasar.jface.component.UIComponent から継承されたメソッド
getId, getMenu, getParent, getRenderer, getStyle, getWidget, render, setId, setMenu, setParent, setRenderer, setStyle, setWidget
 
インタフェース org.seasar.jface.component.UIElement から継承されたメソッド
getBasePath, getLocation, setBasePath, setLocation
 

コンストラクタの詳細

CompositeComponent

public CompositeComponent()
メソッドの詳細

getLayoutInfo

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

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

setLayoutInfo

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

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

getChildLayoutDataInfo

public LayoutDataInfo getChildLayoutDataInfo()

setChildLayoutDataInfo

public void setChildLayoutDataInfo(LayoutDataInfo childLayoutDataInfo)

getCommonAttributes

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

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

setCommonAttributes

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

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

addChild

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

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

getChildren

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

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

doRender

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

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

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

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

renderChild

protected void renderChild(Widget parent,
                           WindowContext context)


Copyright © 2006 The Seasar Foundation. All Rights Reserved.