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

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

public class AbstractUIContainerItemComponent
extends AbstractItemComponent
implements UIContainer

作成者:
bskuroneko

コンストラクタの概要
AbstractUIContainerItemComponent()
           
 
メソッドの概要
 void addChild(UIComponent child)
          子となる UIComponent を追加します。
protected  void doRender(Widget parent, WindowContext context)
          レンダラ呼び出し中に独自のレンダリング処理を追加するためのメソッドです。
 UIComponent getChild()
           
 List<UIComponent> getChildren()
          子コンポーネントのリストを取得します。
 
クラス org.seasar.jface.component.impl.AbstractItemComponent から継承されたメソッド
getImage, getText, setImage, setText
 
クラス 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
 

コンストラクタの詳細

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()

doRender

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

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

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

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


Copyright © 2006 The Seasar Foundation. All Rights Reserved.