Interface AbstractNumberFieldI18n
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
IntegerField.IntegerFieldI18n
,NumberField.NumberFieldI18n
The internationalization properties for
AbstractNumberField
.-
Method Summary
Modifier and TypeMethodDescriptionGets the error message displayed when the field contains user input that the server is unable to convert to typeNumber
.Gets the error message displayed when the field value is greater than the maximum allowed value.Gets the error message displayed when the field value is smaller than the minimum allowed value.Gets the error message displayed when the field is required but empty.Gets the error message displayed when the field value is not a multiple of the step value.
-
Method Details
-
getBadInputErrorMessage
String getBadInputErrorMessage()Gets the error message displayed when the field contains user input that the server is unable to convert to typeNumber
.- Returns:
- the error message or
null
if not set
-
getRequiredErrorMessage
String getRequiredErrorMessage()Gets the error message displayed when the field is required but empty.- Returns:
- the error message or
null
if not set
-
getMinErrorMessage
String getMinErrorMessage()Gets the error message displayed when the field value is smaller than the minimum allowed value.- Returns:
- the error message or
null
if not set
-
getMaxErrorMessage
String getMaxErrorMessage()Gets the error message displayed when the field value is greater than the maximum allowed value.- Returns:
- the error message or
null
if not set
-
getStepErrorMessage
String getStepErrorMessage()Gets the error message displayed when the field value is not a multiple of the step value.- Returns:
- the error message or
null
if not set
-