Index

D F G H I K L M O P S V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

D

de.codecamp.messages.spring.vaadin - module de.codecamp.messages.spring.vaadin
 
de.codecamp.messages.spring.vaadin - package de.codecamp.messages.spring.vaadin
 
de.codecamp.messages.spring.vaadin.annotations - package de.codecamp.messages.spring.vaadin.annotations
 
de.codecamp.messages.spring.vaadin.autoconfigure - package de.codecamp.messages.spring.vaadin.autoconfigure
 
de.codecamp.messages.spring.vaadin.security - package de.codecamp.messages.spring.vaadin.security
 

F

forLocale(Locale) - Method in class de.codecamp.messages.spring.vaadin.VaadinMessageAccessor
 

G

getAvailableLocales() - Method in class de.codecamp.messages.spring.vaadin.VaadinMessageAccessor
 
getCandidateLocales(boolean) - Static method in class de.codecamp.messages.spring.vaadin.LocalizationUtils
Returns locales in the order they should be used to attempt to lookup localized resources.
getDefaultLocale() - Method in class de.codecamp.messages.spring.vaadin.VaadinMessageAccessor
 
getL10n() - Method in interface de.codecamp.messages.spring.vaadin.HasLocalization
Returns access to localized messages and related information for the locale of the current UI.
getL10n() - Static method in class de.codecamp.messages.spring.vaadin.LocalizationUtils
Returns access to localized messages and related information for the locale of the current UI.
getLocale() - Method in interface de.codecamp.messages.spring.vaadin.security.HasLocaleAndTimeZone
Returns the user's locale if available.
getLocale() - Method in class de.codecamp.messages.spring.vaadin.VaadinMessageAccessor
 
getLocale(Authentication) - Method in interface de.codecamp.messages.spring.vaadin.security.LocaleAndTimeZoneExtractor
Returns the user's locale if available in the Authentication.
getMessage(String, Object...) - Method in class de.codecamp.messages.spring.vaadin.VaadinMessageAccessor
 
getProvidedLocales() - Method in class de.codecamp.messages.spring.vaadin.MessageSourceI18NProvider
 
getSessionLocale() - Static method in class de.codecamp.messages.spring.vaadin.SessionLocaleUtils
Returns the locale of the current session.
getSessionLocale(VaadinSession) - Static method in class de.codecamp.messages.spring.vaadin.SessionLocaleUtils
Returns the locale of the given session.
getSessionTimeZone() - Static method in class de.codecamp.messages.spring.vaadin.SessionLocaleUtils
Returns the time zone of the current session.
getSessionTimeZone(VaadinSession) - Static method in class de.codecamp.messages.spring.vaadin.SessionLocaleUtils
Returns the time zone of the given session.
getTimeZone() - Method in interface de.codecamp.messages.spring.vaadin.security.HasLocaleAndTimeZone
Returns the user's time zone if available.
getTimeZone(Authentication) - Method in interface de.codecamp.messages.spring.vaadin.security.LocaleAndTimeZoneExtractor
Returns the user's time zone if available in the Authentication.
getTranslation(String, Locale, Object...) - Method in class de.codecamp.messages.spring.vaadin.MessageSourceI18NProvider
 

H

HasLocaleAndTimeZone - Interface in de.codecamp.messages.spring.vaadin.security
Can be implemented by UserDetails to provide a locale and/or time zone that will be set in the Vaadin session after a successful authentication.
HasLocalization - Interface in de.codecamp.messages.spring.vaadin
A mix-in interface primarily for Components to provide easy access to localized messages and related information in the form of a MessageAccessor.

I

injectMessageProxies(Component) - Static method in class de.codecamp.messages.spring.vaadin.LocalizationUtils
Inject message proxies into any appropriate fields of the given component.

K

key() - Element in annotation type de.codecamp.messages.spring.vaadin.annotations.LocalizedHeaderText
Returns the full message key code to localize the property.
key() - Element in annotation type de.codecamp.messages.spring.vaadin.annotations.LocalizedHelperText
Returns the full message key code to localize the property.
key() - Element in annotation type de.codecamp.messages.spring.vaadin.annotations.LocalizedLabel
Returns the full message key code to localize the property.
key() - Element in annotation type de.codecamp.messages.spring.vaadin.annotations.LocalizedPlaceholder
Returns the full message key code to localize the property.
key() - Element in annotation type de.codecamp.messages.spring.vaadin.annotations.LocalizedProperty
The (full) message key code used to translate the property.
key() - Element in annotation type de.codecamp.messages.spring.vaadin.annotations.LocalizedSummaryText
Returns the full message key code to localize the property.
key() - Element in annotation type de.codecamp.messages.spring.vaadin.annotations.LocalizedText
Returns the full message key code to localize the property.
key() - Element in annotation type de.codecamp.messages.spring.vaadin.annotations.LocalizedTitle
Returns the full message key code to localize the property.

L

LocaleAndTimeZoneExtractor - Interface in de.codecamp.messages.spring.vaadin.security
Extracts a Locale and TimeZone from an Authentication and stores them in the Vaadin session after a successful authentication.
LocalizationException - Exception in de.codecamp.messages.spring.vaadin
 
LocalizationException(String) - Constructor for exception de.codecamp.messages.spring.vaadin.LocalizationException
 
LocalizationException(String, Throwable) - Constructor for exception de.codecamp.messages.spring.vaadin.LocalizationException
 
LocalizationUtils - Class in de.codecamp.messages.spring.vaadin
Utility methods related to message access in Vaadin UIs.
LocalizationUtils() - Constructor for class de.codecamp.messages.spring.vaadin.LocalizationUtils
 
localizeComponents() - Method in class de.codecamp.messages.spring.vaadin.LocalizedComposite
Localizes components stored in fields of this composite.
localizeComponents(Component) - Static method in class de.codecamp.messages.spring.vaadin.LocalizationUtils
Localizes the components stored in the fields of the given component instance using LocalizedProperty or one of the premade Localized* annotations, like LocalizedText / LocalizedTextMessage.
LocalizedComposite<T extends com.vaadin.flow.component.Component> - Class in de.codecamp.messages.spring.vaadin
A convenient base class for Composites that will be localized.
LocalizedComposite() - Constructor for class de.codecamp.messages.spring.vaadin.LocalizedComposite
 
LocalizedHeaderText - Annotation Type in de.codecamp.messages.spring.vaadin.annotations
Used to translate the "headerText" property of components reusing an already declared message key.
LocalizedHeaderTextMessage - Annotation Type in de.codecamp.messages.spring.vaadin.annotations
Used to translate the "headerText" property of components using a newly declared message key.
LocalizedHelperText - Annotation Type in de.codecamp.messages.spring.vaadin.annotations
Used to translate the "helperText" property of components reusing an already declared message key.
LocalizedHelperTextMessage - Annotation Type in de.codecamp.messages.spring.vaadin.annotations
Used to translate the "helperText" property of components using a newly declared message key.
LocalizedLabel - Annotation Type in de.codecamp.messages.spring.vaadin.annotations
Used to translate the "label" property of components reusing an already declared message key.
LocalizedLabelMessage - Annotation Type in de.codecamp.messages.spring.vaadin.annotations
Used to translate the "label" property of components using a newly declared message key.
LocalizedPlaceholder - Annotation Type in de.codecamp.messages.spring.vaadin.annotations
Used to translate the "placeholder" property of components reusing an already declared message key.
LocalizedPlaceholderMessage - Annotation Type in de.codecamp.messages.spring.vaadin.annotations
Used to translate the "placeholder" property of components using a newly declared message key.
LocalizedProperty - Annotation Type in de.codecamp.messages.spring.vaadin.annotations
This annotation is used by LocalizationUtils.localizeComponents(Component) to to automatically localize properties of Components - like HasText.setText(String) or TextField.setLabel(String) - stored in the fields of a host object.
LocalizedProperty.Container - Annotation Type in de.codecamp.messages.spring.vaadin.annotations
Container for repeated @LocalizedProperty annotations.
LocalizedSummaryText - Annotation Type in de.codecamp.messages.spring.vaadin.annotations
Used to translate the "summaryText" property of components reusing an already declared message key.
LocalizedSummaryTextMessage - Annotation Type in de.codecamp.messages.spring.vaadin.annotations
Used to translate the "summaryText" property of components using a newly declared message key.
LocalizedText - Annotation Type in de.codecamp.messages.spring.vaadin.annotations
Used to translate the "text" property of components reusing an already declared message key.
LocalizedTextMessage - Annotation Type in de.codecamp.messages.spring.vaadin.annotations
Used to translate the "text" property of components using a newly declared message key.
LocalizedTitle - Annotation Type in de.codecamp.messages.spring.vaadin.annotations
Used to translate the "title" property of components reusing an already declared message key.
LocalizedTitleMessage - Annotation Type in de.codecamp.messages.spring.vaadin.annotations
Used to translate the "title" property of components using a newly declared message key.

M

MessageSourceI18NProvider - Class in de.codecamp.messages.spring.vaadin
A I18NProvider that adapts an ExtendedMessageSource.
MessageSourceI18NProvider() - Constructor for class de.codecamp.messages.spring.vaadin.MessageSourceI18NProvider
 
MessagesVaadinAutoConfiguration - Class in de.codecamp.messages.spring.vaadin.autoconfigure
 
MessagesVaadinAutoConfiguration() - Constructor for class de.codecamp.messages.spring.vaadin.autoconfigure.MessagesVaadinAutoConfiguration
 

O

onAuthenticationSuccess(AbstractAuthenticationEvent) - Method in class de.codecamp.messages.spring.vaadin.security.PostAuthenticationSessionLocaleHandler
 

P

PostAuthenticationSessionLocaleHandler - Class in de.codecamp.messages.spring.vaadin.security
Listens to AuthenticationSuccessEvent and InteractiveAuthenticationSuccessEvent and tries to update the session locale and time zone based on the Authentication.getPrincipal() / UserDetails (if they implement HasLocaleAndTimeZone) or a provided LocaleAndTimeZoneExtractor.
PostAuthenticationSessionLocaleHandler() - Constructor for class de.codecamp.messages.spring.vaadin.security.PostAuthenticationSessionLocaleHandler
 
property() - Element in annotation type de.codecamp.messages.spring.vaadin.annotations.LocalizedProperty
The name of the property to be translated.
PROPERTY - Static variable in annotation type de.codecamp.messages.spring.vaadin.annotations.LocalizedHeaderText
The name of the property.
PROPERTY - Static variable in annotation type de.codecamp.messages.spring.vaadin.annotations.LocalizedHelperText
The name of the property.
PROPERTY - Static variable in annotation type de.codecamp.messages.spring.vaadin.annotations.LocalizedLabel
The name of the property.
PROPERTY - Static variable in annotation type de.codecamp.messages.spring.vaadin.annotations.LocalizedPlaceholder
The name of the property.
PROPERTY - Static variable in annotation type de.codecamp.messages.spring.vaadin.annotations.LocalizedSummaryText
The name of the property.
PROPERTY - Static variable in annotation type de.codecamp.messages.spring.vaadin.annotations.LocalizedText
The name of the property.
PROPERTY - Static variable in annotation type de.codecamp.messages.spring.vaadin.annotations.LocalizedTitle
The name of the property.

S

serviceInit(ServiceInitEvent) - Method in class de.codecamp.messages.spring.vaadin.VaadinSessionLocaleServiceInitListener
 
SessionLocaleUtils - Class in de.codecamp.messages.spring.vaadin
Utility class to change the Locale and/or TimeZone of a Vaadin session from the initial values that have been determined automatically.
SessionLocaleUtils() - Constructor for class de.codecamp.messages.spring.vaadin.SessionLocaleUtils
 
setLocaleAndTimeZoneExtractor(LocaleAndTimeZoneExtractor) - Method in class de.codecamp.messages.spring.vaadin.security.PostAuthenticationSessionLocaleHandler
 
setMessageSource(ExtendedMessageSource) - Method in class de.codecamp.messages.spring.vaadin.MessageSourceI18NProvider
 
setSessionLocale(VaadinSession, Locale) - Static method in class de.codecamp.messages.spring.vaadin.SessionLocaleUtils
Updates the locale of the given session.
setSessionLocale(Locale) - Static method in class de.codecamp.messages.spring.vaadin.SessionLocaleUtils
Updates the locale of the current session.
setSessionTimeZone(VaadinSession, TimeZone) - Static method in class de.codecamp.messages.spring.vaadin.SessionLocaleUtils
Updates the time zone of the given session.
setSessionTimeZone(TimeZone) - Static method in class de.codecamp.messages.spring.vaadin.SessionLocaleUtils
Updates the time zone of the current session.

V

VaadinMessageAccessor - Class in de.codecamp.messages.spring.vaadin
A specialized MessageAccessor for Vaadin.
VaadinMessageAccessor() - Constructor for class de.codecamp.messages.spring.vaadin.VaadinMessageAccessor
 
VaadinSessionLocaleServiceInitListener - Class in de.codecamp.messages.spring.vaadin
This VaadinServiceInitListener is responsible for updating the locale and time zone in Spring's LocaleContextHolder at the start of each browser request from the current VaadinSession.
VaadinSessionLocaleServiceInitListener() - Constructor for class de.codecamp.messages.spring.vaadin.VaadinSessionLocaleServiceInitListener
 
value() - Element in annotation type de.codecamp.messages.spring.vaadin.annotations.LocalizedProperty.Container
Returns the @LocalizedProperty annotations.
D F G H I K L M O P S V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form