|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.uruma.component.base.AbstractUIElement
org.seasar.uruma.component.base.AbstractUIComponent
org.seasar.uruma.component.base.AbstractItemComponent
org.seasar.uruma.component.jface.MenuItemComponent
org.seasar.uruma.component.jface.MenuComponent
public class MenuComponent
メニュー情報を保持するためのコンポーネントです。
フィールドの概要 |
---|
クラス org.seasar.uruma.component.jface.MenuItemComponent から継承されたフィールド |
---|
accelerator, CHECK, description, disabledImage, enabled, enablesDependingId, enablesFor, hoverImage, PUSH, RADIO, selection |
コンストラクタの概要 | |
---|---|
MenuComponent()
|
メソッドの概要 | |
---|---|
void |
addChild(UIElement child)
子となる UIComponent を追加します。 |
protected void |
doPreRender(WidgetHandle parent,
WindowContext context)
レンダラ呼び出し中に独自のレンダリング処理を追加するためのメソッドです。 |
List<UIElement> |
getChildren()
子コンポーネントのリストを取得します。 |
String |
getDefaultItemId()
デフォルトアイテムIDを取得します。 |
String |
getVisible()
可視状態を取得します。 |
String |
getX()
X 座標を取得します。 |
String |
getY()
Y 座標を取得します。 |
void |
setDefaultItemId(String defaultItemId)
デフォルトアイテムIDを設定します。 |
void |
setVisible(String visible)
可視状態を設定します。 |
void |
setX(String x)
X 座標を設定します。 |
void |
setY(String y)
Y 座標を設定します。 |
クラス org.seasar.uruma.component.jface.MenuItemComponent から継承されたメソッド |
---|
getEnablesDependingId, getEnablesFor |
クラス org.seasar.uruma.component.base.AbstractItemComponent から継承されたメソッド |
---|
getImage, getText, setImage, setText |
クラス org.seasar.uruma.component.base.AbstractUIComponent から継承されたメソッド |
---|
doRender, 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 |
コンストラクタの詳細 |
---|
public MenuComponent()
メソッドの詳細 |
---|
public String getDefaultItemId()
public void setDefaultItemId(String defaultItemId)
defaultItemId
- デフォルトアイテムIDpublic String getVisible()
public void setVisible(String visible)
visible
- 可視状態public String getX()
public void setX(String x)
x
- X 座標public String getY()
public void setY(String y)
y
- Y 座標public void addChild(UIElement child)
UIElementContainer
の記述: UIComponent
を追加します。
UIElementContainer
内の addChild
child
- 子コンポーネントpublic List<UIElement> getChildren()
UIElementContainer
の記述:
UIElementContainer
内の getChildren
protected void doPreRender(WidgetHandle parent, WindowContext context)
AbstractUIComponent
の記述:
本メソッドは AbstractUIComponent.preRender(WidgetHandle, WindowContext)
メソッドの中で、レンダラ
の
Renderer.preRender(UIComponent, WidgetHandle, WindowContext)
メソッドを呼び出した後に呼び出されます。
このタイミングでサブクラスで独自のレンダリング処理を行う場合、本メソッドをオーバーライドしてください。
AbstractUIComponent
内の doPreRender
parent
- 親 WidgetHandle
オブジェクトcontext
- WindowContext
オブジェクト
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |