|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.uruma.context.impl.AbstractWidgetHolder
org.seasar.uruma.context.impl.WindowContextImpl
public class WindowContextImpl
WindowContext
の実装クラスです。
コンストラクタの概要 | |
---|---|
WindowContextImpl(String windowName,
ApplicationContext parent)
WindowContextImpl を構築します。 |
クラス org.seasar.uruma.context.impl.AbstractWidgetHolder から継承されたメソッド |
---|
getWidgetHandle, getWidgetHandles, getWidgetHandles, hasWidgetHandle, putWidgetHandle |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
インタフェース org.seasar.uruma.context.WidgetHolder から継承されたメソッド |
---|
getWidgetHandle, getWidgetHandles, getWidgetHandles, hasWidgetHandle, putWidgetHandle |
コンストラクタの詳細 |
---|
public WindowContextImpl(String windowName, ApplicationContext parent)
WindowContextImpl
を構築します。
windowName
- ウィンドウ名称parent
- 親 ApplicationContext
メソッドの詳細 |
---|
public String getName()
WindowContext
の記述:
WindowContext
内の getName
public PartContext getPartContext()
WindowContext
の記述: PartContext
を返します。PartContext
が複数登録されている場合、最初に登録された PartContext
を返します。PartContext
が登録されていない場合、null
を返します。
WindowContext
内の getPartContext
PartContext
オブジェクトpublic PartContext getPartContext(String partName)
WindowContext
の記述: partName
で指定された名称を持つ PartContext
を取得します。
WindowContext
内の getPartContext
partName
- パート名称
PartContext
オブジェクト。見つからない場合は、null
。public List<PartContext> getPartContextList()
WindowContext
の記述: WindowContext
が保持する PartContext
のリストを返します。PartContext
を1つも保持しない場合、空のリストを返します。
WindowContext
内の getPartContextList
PartContext
のリストpublic ApplicationContext getApplicationContext()
WindowContext
の記述: ApplicationContext
を返します。
WindowContext
内の getApplicationContext
ApplicationContext
オブジェクトpublic void addPartContext(PartContext context)
PartContext
オブジェクトを追加します。
context
- PartContext
オブジェクト
DuplicateComponentIdException
- パート名称が既に登録されている場合public void disposePartContext(String partName)
PartContext
オブジェクトを削除します。
WindowContext
内の disposePartContext
partName
- パート名称public void dispose()
WindowContext
を親 ApplicationContext
から削除します。
public List<WidgetHandle> findWidgetHandles(String handleId)
WindowContext
の記述: WindowContext
本体および配下のすべての PartContext
から、handleId
にマッチする WidgetHandle
を検索して返します。
WindowContext
内の findWidgetHandles
handleId
- ハンドルID
WidgetHandle
のリストpublic List<WidgetHandle> getAllWidgetHandles(Class<?> clazz)
WindowContext
の記述: WindowContext
本体および配下のすべての PartContext
から、指定されたクラスのオブジェクトを持つ WidgetHandle
をすべて検索して返します。
WindowContext
内の getAllWidgetHandles
clazz
- クラス
WidgetHandle
のリストWidgetHolder.getWidgetHandles(Class)
public void addEnablesDependingDef(EnablesDependingDef enablesDependingDef)
WindowContext
の記述: EnablesDependingDef
を追加します。
WindowContext
内の addEnablesDependingDef
enablesDependingDef
- EnablesDependingDef
オブジェクトpublic List<EnablesDependingDef> getEnablesDependingDefList()
WindowContext
の記述: EnablesDependingDef
のリストを返します。
WindowContext
内の getEnablesDependingDefList
EnablesDependingDef
のリストpublic Object getWorkbenchActionObject()
WindowContext
の記述:
WindowContext
内の getWorkbenchActionObject
public void setWorkbenchActionObject(Object workbenchActionObj)
WindowContext
の記述:
WindowContext
内の setWorkbenchActionObject
workbenchActionObj
- ワークベンチアクションクラスのオブジェクトpublic PartActionDesc getPartActionDesc()
WindowContext
の記述: PartActionDesc
オブジェクトを取得します。
WindowContext
内の getPartActionDesc
PartActionDesc
オブジェクトpublic void setPartActionDesc(PartActionDesc desc)
WindowContext
の記述: PartActionDesc
オブジェクトを設定します。
WindowContext
内の setPartActionDesc
desc
- PartActionDesc
オブジェクト
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |