Package jmri.jmrit.dispatcher
Class ActivateTrainFrame.TrainLengthUnitsItem
- java.lang.Object
-
- jmri.jmrit.dispatcher.ActivateTrainFrame.TrainLengthUnitsItem
-
- Enclosing class:
- ActivateTrainFrame
protected static class ActivateTrainFrame.TrainLengthUnitsItem extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TrainLengthUnitsItem(java.lang.String text, ActiveTrain.TrainLengthUnits trainLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getKey()
ActiveTrain.TrainLengthUnits
getValue()
java.lang.String
toString()
-
-
-
Constructor Detail
-
TrainLengthUnitsItem
public TrainLengthUnitsItem(java.lang.String text, ActiveTrain.TrainLengthUnits trainLength)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getKey
public java.lang.String getKey()
-
getValue
public ActiveTrain.TrainLengthUnits getValue()
-
-