org.boxed_economy.besp.presentation.guifw
クラス GUIContainer

java.lang.Object
  拡張org.boxed_economy.besp.presentation.AbstractPresentationComponent
      拡張org.boxed_economy.besp.presentation.guifw.GUIContainer
すべての実装インタフェース:
java.util.EventListener, PresentationComponent, PresentationContainerListener, UpdateEventDeliverer

public class GUIContainer
extends AbstractPresentationComponent
implements PresentationContainerListener

GUIコンテナの主な責任 ○GUIコンポーネントの管理 ○MainFrameの管理 ○MenuManagerの管理 ○SplashWindowの管理 ○Toolsメニューの管理 ○Showメニューの管理 責任外のもの △ファイルメニューの管理、操作 △コントロールメニューの管理、操作 △プロパティーの管理 △ヘルプの管理 また、guiパッケージは、GUIで利用するutililityが含まれています

バージョン:
$Id: GUIContainer.java,v 1.1 2004/03/21 12:07:47 macchan Exp $
作成者:
macchan

フィールドの概要
static java.lang.String DEFAULT_ICON_IMAGE_PATH
           
static java.util.ResourceBundle resource
           
 MenuElementGroup showDefaultGroup
           
 MenuElementGroup showFirstGroup
           
 MenuElementGroup showGeneralGroup
           
 ShowDialogAction showGuiComponentManagementAction
           
 MenuElementGroup showLastGroup
           
 Menu showMenu
           
static java.lang.String TITLE_IMAGE_PATH
           
 MenuElementGroup toolsDefaultGroup
           
 MenuElementGroup toolsFirstGroup
           
 MenuElementGroup toolsLastGroup
           
 Menu toolsMenu
          メニュー関連
 
コンストラクタの概要
GUIContainer()
          Constructor for GUIContainer.
 
メソッドの概要
 void addMenuElementToShowMenu(MenuElement element)
          新規メニューをShowメニューに追加します defalutグループに追加されます
 void addMenuElementToToolsMenu(MenuElement element)
          新規メニューをToolsメニューに追加します defalutグループに追加されます
 java.util.List getGUIComponents()
          Returns the guiComponents.
 MainFrame getMainFrame()
          MainFrameを取得します
 MenuManager getMenuManager()
          MenuManagerを取得します
 BoxSplashWindow getSplashWindow()
          SplashWindowを取得します
 void initialize()
          このコンポーネントの初期化処理を記述するメソッドです。
 void presentationComponentAdded(PresentationContainerEvent ev)
          プレゼンテーションコンポーネントが追加されたことを通知します
 void presentationComponentRemoved(PresentationContainerEvent ev)
          プレゼンテーションコンポーネントが削除されたことを通知します
 void terminate()
          このプレゼンテーションコンポーネントを終了します。
 
クラス org.boxed_economy.besp.presentation.AbstractPresentationComponent から継承したメソッド
addTradeListener, addUpdateAgentListener, addUpdateBehaviorListener, addUpdateChannelListener, addUpdateClockListener, addUpdateInformationListener, addUpdateRelationListener, addUpdateStepListener, addUpdateWorldListener, getPresentationContainer, getWorld, removeTradeListener, removeUpdateAgentListener, removeUpdateBehaviorListener, removeUpdateChannelListener, removeUpdateClockListener, removeUpdateInformationListener, removeUpdateRelationListener, removeUpdateStepListener, removeUpdateWorldListener, setPresentationContainer
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

resource

public static java.util.ResourceBundle resource

DEFAULT_ICON_IMAGE_PATH

public static final java.lang.String DEFAULT_ICON_IMAGE_PATH
関連項目:
定数フィールド値

TITLE_IMAGE_PATH

public static final java.lang.String TITLE_IMAGE_PATH
関連項目:
定数フィールド値

toolsMenu

public Menu toolsMenu
メニュー関連


toolsFirstGroup

public MenuElementGroup toolsFirstGroup

toolsDefaultGroup

public MenuElementGroup toolsDefaultGroup

toolsLastGroup

public MenuElementGroup toolsLastGroup

showMenu

public Menu showMenu

showFirstGroup

public MenuElementGroup showFirstGroup

showGeneralGroup

public MenuElementGroup showGeneralGroup

showDefaultGroup

public MenuElementGroup showDefaultGroup

showLastGroup

public MenuElementGroup showLastGroup

showGuiComponentManagementAction

public ShowDialogAction showGuiComponentManagementAction
コンストラクタの詳細

GUIContainer

public GUIContainer()
Constructor for GUIContainer.

メソッドの詳細

initialize

public void initialize()
インタフェース PresentationComponent の記述:
このコンポーネントの初期化処理を記述するメソッドです。 プレゼンテーションコンポーネントがコンテナーに追加された後に呼ばれます。

定義:
インタフェース PresentationComponent 内の initialize
関連項目:
org.boxed_economy.besp.presentation.fw.PresentationComponent#initialize()

terminate

public void terminate()
インタフェース PresentationComponent の記述:
このプレゼンテーションコンポーネントを終了します。 コンテナーのremoveメソッドから呼ばれます。(modelが存在していれば、 先にcloseWorldが呼ばれます。)

定義:
インタフェース PresentationComponent 内の terminate
関連項目:
org.boxed_economy.besp.presentation.fw.PresentationComponent#terminate()

getMainFrame

public MainFrame getMainFrame()
MainFrameを取得します


getMenuManager

public MenuManager getMenuManager()
MenuManagerを取得します

戻り値:
MenuManager

getSplashWindow

public BoxSplashWindow getSplashWindow()
SplashWindowを取得します


addMenuElementToShowMenu

public void addMenuElementToShowMenu(MenuElement element)
新規メニューをShowメニューに追加します defalutグループに追加されます


addMenuElementToToolsMenu

public void addMenuElementToToolsMenu(MenuElement element)
新規メニューをToolsメニューに追加します defalutグループに追加されます


presentationComponentAdded

public void presentationComponentAdded(PresentationContainerEvent ev)
インタフェース PresentationContainerListener の記述:
プレゼンテーションコンポーネントが追加されたことを通知します

定義:
インタフェース PresentationContainerListener 内の presentationComponentAdded
関連項目:
PresentationContainerListener.presentationComponentAdded(PresentationContainerEvent)

presentationComponentRemoved

public void presentationComponentRemoved(PresentationContainerEvent ev)
インタフェース PresentationContainerListener の記述:
プレゼンテーションコンポーネントが削除されたことを通知します

定義:
インタフェース PresentationContainerListener 内の presentationComponentRemoved
関連項目:
PresentationContainerListener.presentationComponentRemoved(PresentationContainerEvent)

getGUIComponents

public java.util.List getGUIComponents()
Returns the guiComponents.

戻り値:
List