Package jmri.jmrit.logix
Class ThrottleSetting.CommandValue
- java.lang.Object
-
- jmri.jmrit.logix.ThrottleSetting.CommandValue
-
- Enclosing class:
- ThrottleSetting
public static class ThrottleSetting.CommandValue extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) float
_floatValue
(package private) SpeedStepMode
_stepMode
(package private) java.lang.String
_textValue
(package private) ThrottleSetting.ValueType
_type
(package private) java.text.NumberFormat
formatter
(package private) java.text.NumberFormat
intFormatter
-
Constructor Summary
Constructors Constructor Description CommandValue(ThrottleSetting.ValueType t, SpeedStepMode s, float f, java.lang.String tx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ThrottleSetting.CommandValue
clone()
float
getFloat()
SpeedStepMode
getMode()
java.lang.String
getText()
ThrottleSetting.ValueType
getType()
(package private) void
setFloat(float f)
java.lang.String
showValue()
java.lang.String
toString()
-
-
-
Field Detail
-
_stepMode
SpeedStepMode _stepMode
-
_floatValue
float _floatValue
-
_textValue
java.lang.String _textValue
-
formatter
java.text.NumberFormat formatter
-
intFormatter
java.text.NumberFormat intFormatter
-
-
Constructor Detail
-
CommandValue
public CommandValue(ThrottleSetting.ValueType t, SpeedStepMode s, float f, java.lang.String tx)
-
-
Method Detail
-
clone
protected ThrottleSetting.CommandValue clone()
- Overrides:
clone
in classjava.lang.Object
-
getType
public ThrottleSetting.ValueType getType()
-
getMode
public SpeedStepMode getMode()
-
setFloat
void setFloat(float f)
-
getFloat
public float getFloat()
-
getText
public java.lang.String getText()
-
showValue
public java.lang.String showValue()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-