Package jmri.jmrit.logixng.util
Interface LogixNG_SelectDouble.FormatterParserValidator
- All Known Implementing Classes:
LogixNG_SelectDouble.DefaultFormatterParserValidator
- Enclosing class:
- LogixNG_SelectDouble
public static interface LogixNG_SelectDouble.FormatterParserValidator
Format, parse and validate.
-
Method Summary
-
Method Details
-
getInitialValue
double getInitialValue()Get the initial value- Returns:
- the initial value
-
format
Format the value- Parameters:
value- the value- Returns:
- the formatted string
-
parse
Parse the string- Parameters:
str- the string- Returns:
- the parsed value
-
validate
Validates the string- Parameters:
str- the string- Returns:
- null if valid. An error message if not valid
-