Module org.controlsfx.controls
Class NumberParser<T extends Number>
java.lang.Object
impl.org.controlsfx.tableview2.filter.parser.number.NumberParser<T>
- All Implemented Interfaces:
Parser<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA string with the error message if the parser fails to parse the supplied string.Return the symbol related to an operator text which can be used with this parser.booleanChecks if the supplied text is valid or not.Returns the list of operators which can be used with this parser.
-
Constructor Details
-
NumberParser
public NumberParser()
-
-
Method Details
-
parse
-
operators
Description copied from interface:ParserReturns the list of operators which can be used with this parser. -
getSymbol
Description copied from interface:ParserReturn the symbol related to an operator text which can be used with this parser. -
isValid
Description copied from interface:ParserChecks if the supplied text is valid or not. -
getErrorMessage
Description copied from interface:ParserA string with the error message if the parser fails to parse the supplied string.- Specified by:
getErrorMessagein interfaceParser<T extends Number>- Returns:
- An error message if the parse fails.
-