- All Superinterfaces:
Serializable
- Enclosing class:
AoTextField<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Formats the type-specific value to text, only called for values that pass all registered validators.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AoTextField.Formatter<Object> Formats by callingObjects.toString(java.lang.Object, java.lang.String)with a""null-default.static final AoTextField.Formatter<String> Formats a trimmedString, converting null to empty string. -
Method Summary
-
Field Details
-
OBJECTS_TOSTRING
Formats by callingObjects.toString(java.lang.Object, java.lang.String)with a""null-default. -
TRIMMED_STRING
Formats a trimmedString, converting null to empty string.- See Also:
-
-
Method Details
-
format
Formats the type-specific value to text, only called for values that pass all registered validators.- Parameters:
value- The new value, which may benull.- Returns:
- the textual representation, never null
- See Also:
-
