org.seasar.uruma.component.impl
クラス AbstractUIContainerItemComponent

java.lang.Object
  上位を拡張 org.seasar.uruma.component.impl.AbstractUIElement
      上位を拡張 org.seasar.uruma.component.impl.AbstractUIComponent
          上位を拡張 org.seasar.uruma.component.impl.AbstractItemComponent
              上位を拡張 org.seasar.uruma.component.impl.AbstractUIContainerItemComponent
すべての実装されたインタフェース:
UIComponent, UIContainer, UIElement
直系の既知のサブクラス:
CoolItemComponent, CTabItemComponent, TabItemComponent

public abstract class AbstractUIContainerItemComponent
extends AbstractItemComponent
implements UIContainer

UIContainer の子要素を表す基底クラスです。

作成者:
bskuroneko

コンストラクタの概要
AbstractUIContainerItemComponent()
           
 
メソッドの概要
 void addChild(UIComponent child)
          子となる UIComponent を追加します。
protected  void doRender(WidgetHandle parent, PartContext context)
          レンダラ呼び出し中に独自のレンダリング処理を追加するためのメソッドです。
 UIComponent getChild()
          子コンポーネントを取得します。
 List<UIComponent> getChildren()
          子コンポーネントのリストを取得します。
 
クラス org.seasar.uruma.component.impl.AbstractItemComponent から継承されたメソッド
getImage, getText, setImage, setText
 
クラス org.seasar.uruma.component.impl.AbstractUIComponent から継承されたメソッド
doPreRender, getId, getParent, getRenderer, getStyle, getWidgetHandle, preRender, render, setId, setParent, setRenderer, setStyle, setWidgetHandle
 
クラス org.seasar.uruma.component.impl.AbstractUIElement から継承されたメソッド
getBasePath, getLocation, setBasePath, setLocation
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース org.seasar.uruma.component.UIComponent から継承されたメソッド
getId, getParent, getRenderer, getStyle, getWidgetHandle, preRender, render, setId, setParent, setRenderer, setStyle, setWidgetHandle
 
インタフェース org.seasar.uruma.component.UIElement から継承されたメソッド
getBasePath, getLocation, setBasePath, setLocation
 

コンストラクタの詳細

AbstractUIContainerItemComponent

public AbstractUIContainerItemComponent()
メソッドの詳細

addChild

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

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

getChildren

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

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

getChild

public UIComponent getChild()
子コンポーネントを取得します。
子コンポーネントが複数存在する場合、最初の一個を返します。

戻り値:
子コンポーネント。存在しない場合は null

doRender

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

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

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

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


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