Class SpeedTableStepSpeed
java.lang.Object
jmri.jmrix.bachrus.speedmatcher.speedStepScale.SpeedTableStepSpeed
Wrapper class for a SpeedTableStep and its corresponding speed, including a
toString override for use in a speed selector combobox.
-
Constructor Summary
ConstructorsConstructorDescriptionSpeedTableStepSpeed(SpeedMatcher.SpeedTableStep speedTableStep) Creates a SpeedTableStepSpeed from the given speedTableStep -
Method Summary
-
Constructor Details
-
SpeedTableStepSpeed
Creates a SpeedTableStepSpeed from the given speedTableStep- Parameters:
speedTableStep- the SpeedTableStep to use
-
-
Method Details
-
getSpeedTableStep
Gets this SpeedTableStepSpeed's SpeedTableStep- Returns:
- this SpeedTableStepSpeed's SpeedTableStep
-
getSpeed
Gets this SpeedTableStepSpeed's speed- Returns:
- the Speed TableStepSpeed's speed
-
toString
Converts this SpeedTableStepSpeed to an I18N string.
-