Package jmri.jmrit.operations.trains
Class TrainIconAnimation
- java.lang.Object
-
- java.lang.Thread
-
- jmri.jmrit.operations.trains.TrainIconAnimation
-
- All Implemented Interfaces:
java.lang.Runnable
public class TrainIconAnimation extends java.lang.Thread
Provides simple animation for train icons.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) TrainIconAnimation
_previous
(package private) RouteLocation
_rl
(package private) TrainIcon
_trainIcon
-
Constructor Summary
Constructors Constructor Description TrainIconAnimation(TrainIcon trainIcon, RouteLocation rl, TrainIconAnimation previous)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Field Detail
-
_trainIcon
TrainIcon _trainIcon
-
_rl
RouteLocation _rl
-
_previous
TrainIconAnimation _previous
-
-
Constructor Detail
-
TrainIconAnimation
public TrainIconAnimation(TrainIcon trainIcon, RouteLocation rl, TrainIconAnimation previous)
-
-
Method Detail
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
- Overrides:
run
in classjava.lang.Thread
-
-