org.boxed_economy.components.runsetting
クラス RunSettingManager

java.lang.Object
  拡張org.boxed_economy.besp.presentation.AbstractPresentationComponent
      拡張org.boxed_economy.components.runsetting.RunSettingManager
すべての実装インタフェース:
java.util.EventListener, ModelContainerListener, PresentationComponent, SimulationStateListener, UpdateClockListener, UpdateEventDeliverer

public class RunSettingManager
extends AbstractPresentationComponent
implements SimulationStateListener, ModelContainerListener, UpdateClockListener

実行設定を管理するコンテナです 実行設定拡張パネル(制御パネル下) 実行設定ダイアログの管理を行います

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

フィールドの概要
static java.util.ResourceBundle resource
           
 Action runSettingAction
           
 ActionGroup settingGroup
          メニュー関連
 
コンストラクタの概要
RunSettingManager()
          Constructor for RunSettingManager.
 
メソッドの概要
 void clockGained(UpdateClockEvent e)
          時刻が経過したときに呼ばれるメソッドです。
 RunSettingShowExtendPanel getExtendPanel()
          Returns the extendPanel.
 RunSettingDialog getRunSettingDialog()
          Returns the runSettingDialog.
 void initialize()
          このコンポーネントの初期化処理を記述するメソッドです。
 void prepareWorldClose(ModelContainerEvent ev)
          現在のモデルが破棄される直前に呼ばれます
 void prepareWorldOpen(ModelContainerEvent ev)
          世界(モデル)が設定され、初期化される前のタイミングで呼ばれます
 void simulationStarted(SimulationStateEvent ev)
          シミュレーションが開始されたことを通知します
 void simulationStopped(SimulationStateEvent ev)
          シミュレーションが停止されたことを通知します
 void simulationStopping(SimulationStateEvent ev)
          シミュレーションが停止処理にはいったことを通知します
 void terminate()
          このプレゼンテーションコンポーネントを終了します。
 void worldClosed(ModelContainerEvent ev)
          現在のモデルが破棄された直後に呼ばれます
 void worldOpened(ModelContainerEvent ev)
          世界(モデル)が設定され、初期化された後のタイミングで呼ばれます
 
クラス 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

settingGroup

public ActionGroup settingGroup
メニュー関連


runSettingAction

public Action runSettingAction
コンストラクタの詳細

RunSettingManager

public RunSettingManager()
Constructor for RunSettingManager.

メソッドの詳細

initialize

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

定義:
インタフェース PresentationComponent 内の initialize
関連項目:
PresentationComponent.initialize()

terminate

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

定義:
インタフェース PresentationComponent 内の terminate
関連項目:
PresentationComponent.terminate()

getRunSettingDialog

public RunSettingDialog getRunSettingDialog()
Returns the runSettingDialog.

戻り値:
RunSettingDialog

getExtendPanel

public RunSettingShowExtendPanel getExtendPanel()
Returns the extendPanel.

戻り値:
RunSettingShowExtendPanel

simulationStarted

public void simulationStarted(SimulationStateEvent ev)
インタフェース SimulationStateListener の記述:
シミュレーションが開始されたことを通知します

定義:
インタフェース SimulationStateListener 内の simulationStarted
関連項目:
SimulationStateListener.simulationStarted(SimulationStateEvent)

simulationStopped

public void simulationStopped(SimulationStateEvent ev)
インタフェース SimulationStateListener の記述:
シミュレーションが停止されたことを通知します

定義:
インタフェース SimulationStateListener 内の simulationStopped
関連項目:
SimulationStateListener.simulationStopped(SimulationStateEvent)

simulationStopping

public void simulationStopping(SimulationStateEvent ev)
インタフェース SimulationStateListener の記述:
シミュレーションが停止処理にはいったことを通知します

定義:
インタフェース SimulationStateListener 内の simulationStopping
関連項目:
SimulationStateListener.simulationStopping(SimulationStateEvent)

prepareWorldOpen

public void prepareWorldOpen(ModelContainerEvent ev)
インタフェース ModelContainerListener の記述:
世界(モデル)が設定され、初期化される前のタイミングで呼ばれます

定義:
インタフェース ModelContainerListener 内の prepareWorldOpen
関連項目:
ModelContainerListener.prepareWorldOpen(ModelContainerEvent)

worldOpened

public void worldOpened(ModelContainerEvent ev)
インタフェース ModelContainerListener の記述:
世界(モデル)が設定され、初期化された後のタイミングで呼ばれます

定義:
インタフェース ModelContainerListener 内の worldOpened
関連項目:
ModelContainerListener.worldOpened(ModelContainerEvent)

prepareWorldClose

public void prepareWorldClose(ModelContainerEvent ev)
インタフェース ModelContainerListener の記述:
現在のモデルが破棄される直前に呼ばれます

定義:
インタフェース ModelContainerListener 内の prepareWorldClose
関連項目:
ModelContainerListener.prepareWorldClose(ModelContainerEvent)

worldClosed

public void worldClosed(ModelContainerEvent ev)
インタフェース ModelContainerListener の記述:
現在のモデルが破棄された直後に呼ばれます

定義:
インタフェース ModelContainerListener 内の worldClosed
関連項目:
ModelContainerListener.worldClosed(ModelContainerEvent)

clockGained

public void clockGained(UpdateClockEvent e)
インタフェース UpdateClockListener の記述:
時刻が経過したときに呼ばれるメソッドです。 このメソッドが呼ばれるタイミングは,エージェントに信号を送り出した直後です

定義:
インタフェース UpdateClockListener 内の clockGained
パラメータ:
e - 更新イベント
関連項目:
UpdateClockListener.clockGained(UpdateClockEvent)