org.boxed_economy.besp.presentation
クラス PresentationContainer

java.lang.Object
  拡張org.boxed_economy.besp.presentation.PresentationContainer

public class PresentationContainer
extends java.lang.Object

プレゼンテーションコンポーネントを配置するプレゼンテーションコンテナです。 メインウィンドウと各プレゼンテーションコンポーネントを追加・削除・取得 することができます。

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

コンストラクタの概要
PresentationContainer(BESPContainer container)
          Constructor for PresentationContainer.
 
メソッドの概要
 void addMenuElementToShowMenu(MenuElement element)
          Show(表示)メニューにActionを追加します。
 void addMenuElementToToolsMenu(MenuElement element)
          Show(表示)メニューにActionを追加します。
 void addPresentationComponent(PresentationComponent component)
          PresentationComponentを追加します。
 void addPresentationContainerListener(PresentationContainerListener l)
           
protected  void firePresentationComponentAdded(PresentationContainerEvent e)
           
protected  void firePresentationComponentRemoved(PresentationContainerEvent e)
           
 BESPContainer getContainer()
           
 GUIContainer getGuiContainer()
          Returns the guiContainer.
 MainFrame getMainFrame()
          MainFrameを取得します(便利メソッド)
 MenuManager getMenuManager()
          MenuManagerを取得します(便利メソッド)
 ModelContainer getModelContainer()
          コンテナ関連
 PresentationComponent getPresentationComponent(java.lang.Class presentationComponentClass)
          クラスに対応するプレゼンテーションコンポーネントを取得します ☆継承するものも対応します ☆複数ある場合は、最初に見つかったものを返します 見つからなかった場合は、nullを返します
 java.util.Collection getPresentationComponents()
          Method getPresentationComponents.
 UpdateEventManager getUpdateEventManager()
          イベント配信関連
 void hideTitle()
          タイトルウィンドウを隠します。
 void initialize()
          初期化します
static void initializeLookAndFeel()
           
 void removePresentationComponent(PresentationComponent component)
          PresentationComponentを削除します。
 void removePresentationContainerListener(PresentationContainerListener l)
           
 void setInitialStatusMessage(java.lang.String s)
          タイトルウィンドウのメッセージを変更します。
 void showError(java.lang.String message)
          エラーを表示します。
 void showError(java.lang.String message, java.lang.Throwable th)
          エラーを表示します。
 void showTitle()
          タイトルウィンドウを表示します。
 void terminate()
          終了処理します
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

PresentationContainer

public PresentationContainer(BESPContainer container)
Constructor for PresentationContainer.

メソッドの詳細

initializeLookAndFeel

public static void initializeLookAndFeel()

initialize

public void initialize()
初期化します


terminate

public void terminate()
終了処理します


getModelContainer

public ModelContainer getModelContainer()
コンテナ関連


getContainer

public BESPContainer getContainer()

getGuiContainer

public GUIContainer getGuiContainer()
Returns the guiContainer.

戻り値:
GUIContainer

getMainFrame

public MainFrame getMainFrame()
MainFrameを取得します(便利メソッド)

戻り値:
MainFrame

getMenuManager

public MenuManager getMenuManager()
MenuManagerを取得します(便利メソッド)

戻り値:
MenuManager

addMenuElementToShowMenu

public void addMenuElementToShowMenu(MenuElement element)
Show(表示)メニューにActionを追加します。(便利メソッド)


addMenuElementToToolsMenu

public void addMenuElementToToolsMenu(MenuElement element)
Show(表示)メニューにActionを追加します。(便利メソッド)


getUpdateEventManager

public UpdateEventManager getUpdateEventManager()
イベント配信関連


addPresentationComponent

public void addPresentationComponent(PresentationComponent component)
PresentationComponentを追加します。


removePresentationComponent

public void removePresentationComponent(PresentationComponent component)
PresentationComponentを削除します。


getPresentationComponents

public java.util.Collection getPresentationComponents()
Method getPresentationComponents.

戻り値:
Collection

getPresentationComponent

public PresentationComponent getPresentationComponent(java.lang.Class presentationComponentClass)
クラスに対応するプレゼンテーションコンポーネントを取得します ☆継承するものも対応します ☆複数ある場合は、最初に見つかったものを返します 見つからなかった場合は、nullを返します


showError

public void showError(java.lang.String message)
エラーを表示します。

パラメータ:
message - エラーmessage

showError

public void showError(java.lang.String message,
                      java.lang.Throwable th)
エラーを表示します。

パラメータ:
message - エラーmessage

showTitle

public void showTitle()
タイトルウィンドウを表示します。


hideTitle

public void hideTitle()
タイトルウィンドウを隠します。


setInitialStatusMessage

public void setInitialStatusMessage(java.lang.String s)
タイトルウィンドウのメッセージを変更します。


addPresentationContainerListener

public void addPresentationContainerListener(PresentationContainerListener l)

removePresentationContainerListener

public void removePresentationContainerListener(PresentationContainerListener l)

firePresentationComponentAdded

protected void firePresentationComponentAdded(PresentationContainerEvent e)

firePresentationComponentRemoved

protected void firePresentationComponentRemoved(PresentationContainerEvent e)