|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.uruma.context.impl.ApplicationContextImpl
public class ApplicationContextImpl
ApplicationContext の実装クラスです。
| コンストラクタの概要 | |
|---|---|
ApplicationContextImpl()
ApplicationContextImpl を構築します。 |
|
| メソッドの概要 | |
|---|---|
void |
addWindowContext(WindowContext context)
WindowContext オブジェクトを追加します。 |
void |
disposeWindowContext(String windowName)
WindowContext を削除します。 |
Object |
getValue(String name)
ApplicationContext から値を取得します。 |
WindowContext |
getWindowContext(String windowName)
windowName で指定された名称を持つ WindowContext を返します。 |
Collection<WindowContext> |
getWindowContexts()
ApplicationContext が保持する WindowContext のコレクションを返します。 |
void |
setValue(String name,
Object value)
ApplicationContext へ値を設定します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public ApplicationContextImpl()
ApplicationContextImpl を構築します。ContextFactory.createApplicationContext()
メソッドを利用してください。
| メソッドの詳細 |
|---|
public WindowContext getWindowContext(String windowName)
ApplicationContext の記述: windowName で指定された名称を持つ WindowContext を返します。
ApplicationContext 内の getWindowContextwindowName - ウィンドウ名称
WindowContext オブジェクト。見つからなかった場合は null。public Collection<WindowContext> getWindowContexts()
ApplicationContext の記述: ApplicationContext が保持する WindowContext のコレクションを返します。WindowContext を1つも保持しない場合、空のコレクションを返します。
ApplicationContext 内の getWindowContextsWindowContext のコレクションpublic void addWindowContext(WindowContext context)
WindowContext オブジェクトを追加します。
context - 追加する WindowContext オブジェクト
DuplicateComponentIdException - ウィンドウ名称が既に登録されている場合public void disposeWindowContext(String windowName)
WindowContext を削除します。
windowName - ウィンドウ名称public Object getValue(String name)
ApplicationContext の記述: ApplicationContext から値を取得します。
ApplicationContext 内の getValuename - 名称
null
public void setValue(String name,
Object value)
ApplicationContext の記述: ApplicationContext へ値を設定します。
ApplicationContext 内の setValuename - 名称value - 値
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||