|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
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
メニュー情報を保持するためのコンポーネントです。
| フィールドの概要 | |
|---|---|
String |
defaultItemId
デフォルトアイテムIDです。 |
String |
visible
可視状態です。 |
String |
x
メニューの表示 X座標です。 |
String |
y
メニューの表示 Y 座標です。 |
| クラス org.seasar.uruma.component.jface.MenuItemComponent から継承されたフィールド |
|---|
accelerator, CHECK, description, disabledImage, enabled, enablesDependingId, enablesFor, hoverImage, PUSH, RADIO, selection |
| クラス org.seasar.uruma.component.base.AbstractItemComponent から継承されたフィールド |
|---|
image, text |
| コンストラクタの概要 | |
|---|---|
MenuComponent()
|
|
| メソッドの概要 | |
|---|---|
void |
accept(UIElementVisitor visitor)
UIElementVisitor の訪問を受け入れます。 |
void |
addChild(UIElement child)
子となる UIComponent を追加します。 |
protected void |
doPreRender(WidgetHandle parent,
WindowContext context)
レンダラ呼び出し中に独自のレンダリング処理を追加するためのメソッドです。 |
List<UIElement> |
getChildren()
子コンポーネントのリストを取得します。 |
| クラス org.seasar.uruma.component.jface.MenuItemComponent から継承されたメソッド |
|---|
getEnablesDependingId, getEnablesFor |
| クラス org.seasar.uruma.component.base.AbstractUIComponent から継承されたメソッド |
|---|
doRender, getId, getParent, getRenderer, getStyle, preRender, render, setId, setParent, setRenderer, setStyle, toString |
| クラス org.seasar.uruma.component.base.AbstractUIElement から継承されたメソッド |
|---|
getBasePath, getLocation, getPath, setBasePath, setLocation, setPath |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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 String defaultItemId
public String visible
public String x
public String y
| コンストラクタの詳細 |
|---|
public MenuComponent()
| メソッドの詳細 |
|---|
public void addChild(UIElement child)
UIElementContainer の記述: UIComponent を追加します。
UIElementContainer 内の addChildchild - 子コンポーネント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 内の doPreRenderparent - 親 WidgetHandle オブジェクトcontext - WindowContext オブジェクトpublic void accept(UIElementVisitor visitor)
UIElementVisitorAcceptor の記述: UIElementVisitor の訪問を受け入れます。
UIElementVisitorAcceptor 内の acceptAbstractUIElement 内の acceptvisitor - UIElementVisitor オブジェクト
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||