org.boxed_economy.components.realclock
クラス SetTimeForStepCommand

java.lang.Object
  拡張org.boxed_economy.besp.container.command.Command
      拡張org.boxed_economy.components.realclock.SetTimeForStepCommand

public class SetTimeForStepCommand
extends Command

SetTimeForStepCommand timeForStepを指定するための命令です。


コンストラクタの概要
SetTimeForStepCommand(BESPContainer container, Time time)
           
 
メソッドの概要
protected  void run()
          modelからclockを呼び出して、timeForStepを指定します。
 
クラス org.boxed_economy.besp.container.command.Command から継承したメソッド
execute, getContainer, getModelContainer, getPresentationContainer
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

SetTimeForStepCommand

public SetTimeForStepCommand(BESPContainer container,
                             Time time)
メソッドの詳細

run

protected void run()
modelからclockを呼び出して、timeForStepを指定します。 ただし、clockがDefaultClockであるときのみ有効です。 それ以外ではエラーを表示して設定を反映させません。

定義:
クラス Command 内の run