Class I18nPropertyHeaderPrinter
java.lang.Object
org.vaadin.firitin.rad.I18nPropertyHeaderPrinter
- All Implemented Interfaces:
PropertyHeaderPrinter
A
PropertyHeaderPrinter that resolves field labels via a FormTranslationProvider.
Performs two-tier key lookup:
ClassName.propertyName(bean-specific)propertyName(generic/shared)
null if neither key resolves, so the existing deCamelCased fallback kicks in.-
Constructor Summary
ConstructorsConstructorDescriptionI18nPropertyHeaderPrinter(FormTranslationProvider translationProvider, Locale locale) -
Method Summary
Modifier and TypeMethodDescriptionPrints the header of the property.
-
Constructor Details
-
I18nPropertyHeaderPrinter
-
-
Method Details
-
printHeader
Description copied from interface:PropertyHeaderPrinterPrints the header of the property. The header can be simple string or a more complex component.- Specified by:
printHeaderin interfacePropertyHeaderPrinter- Parameters:
ctx- the value context- Returns:
- the component representing the property header or null if this printer does not know how to print the value
-