Package jmri.jmrit.dispatcher
Class AutoActiveTrain.PauseTrain
- java.lang.Object
-
- jmri.jmrit.dispatcher.AutoActiveTrain.PauseTrain
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- AutoActiveTrain
class AutoActiveTrain.PauseTrain extends java.lang.Object implements java.lang.Runnable
Pause the train in a separate thread. Train is stopped, then restarted after specified number of fast Minutes have elapsed.
-
-
Constructor Summary
Constructors Constructor Description PauseTrain(int fastMinutes)
Create a PauseTrain
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
-
-
-
Constructor Detail
-
PauseTrain
public PauseTrain(int fastMinutes)
Create a PauseTrain- Parameters:
fastMinutes
- the number of fast clock minutes to pause the train
-
-
Method Detail
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
-