Skip navigation links
C D E G I M O R S T U 

C

clearCache() - Method in interface org.vaadin.spring.i18n.MessageProvider
Clears any internal caches, forcing the message provider to resolve the codes from the original message source.
clearCache() - Method in class org.vaadin.spring.i18n.ResourceBundleMessageProvider
 
clearMessageProviderCaches() - Method in class org.vaadin.spring.i18n.CompositeMessageSource
Clears the caches of all message providers.
CompositeMessageSource - Class in org.vaadin.spring.i18n
Message source that resolves the messages by querying the MessageProviders in the application context.
CompositeMessageSource(ApplicationContext) - Constructor for class org.vaadin.spring.i18n.CompositeMessageSource
Creates a new CompositeMessageSource.

D

destroy() - Method in class org.vaadin.spring.i18n.MessageProviderCacheCleanupExecutor
Shuts down the cleanup thread.

E

EnableI18N - Annotation Type in org.vaadin.spring.i18n.annotation
Add this annotation to your application configuration to enable the I18N internationalization support.
ENV_PROP_MESSAGE_FORMAT_CACHE_ENABLED - Static variable in class org.vaadin.spring.i18n.CompositeMessageSource
 
ENV_PROP_MESSAGE_PROVIDER_CACHE_CLEANUP_INTERVAL_SECONDS - Static variable in class org.vaadin.spring.i18n.MessageProviderCacheCleanupExecutor
An environment property specifying the interval of the cache cleanups.

G

get(String, Object...) - Method in class org.vaadin.spring.i18n.I18N
Tries to resolve the specified message for the current locale.
get(String, Locale, Object...) - Method in class org.vaadin.spring.i18n.I18N
Tries to resolve the specified message for the given locale.
getLocale() - Method in class org.vaadin.spring.i18n.I18N
Gets the locale of the current Vaadin UI.
getTranslatableSupport() - Method in class org.vaadin.spring.i18n.support.TranslatableUI
Returns the TranslatableSupport delegate owned by this UI.
getWithDefault(String, String, Object...) - Method in class org.vaadin.spring.i18n.I18N
Tries to resolve the specified message for the current locale.
getWithDefault(String, Locale, String, Object...) - Method in class org.vaadin.spring.i18n.I18N
Tries to resolve the specified message for the given locale.
getWithLocale(String, Locale, Object...) - Method in class org.vaadin.spring.i18n.I18N
Deprecated.

I

I18N - Class in org.vaadin.spring.i18n
Helper class for resolving messages in a Vaadin UI.
I18N(ApplicationContext) - Constructor for class org.vaadin.spring.i18n.I18N
 
I18NConfiguration - Class in org.vaadin.spring.i18n.config
Configuration class used by @EnableVaadinI18N Spring configuration for the CompositeMessageSource.
I18NConfiguration() - Constructor for class org.vaadin.spring.i18n.config.I18NConfiguration
 
init(VaadinRequest) - Method in class org.vaadin.spring.i18n.support.TranslatableUI
initUI(VaadinRequest) - Method in class org.vaadin.spring.i18n.support.TranslatableUI
Called by TranslatableUI.init(VaadinRequest) to actually initialize the UI.
isMessageFormatCacheEnabled() - Method in class org.vaadin.spring.i18n.CompositeMessageSource
Returns whether the resolved messages are cached or not.
isRevertToDefaultBundle() - Method in class org.vaadin.spring.i18n.I18N
Returns whether I18N will try the default bundle if a message cannot be resolved for the current locale.

M

MessageProvider - Interface in org.vaadin.spring.i18n
A MessageProvider provides messages for a CompositeMessageSource.
MessageProviderCacheCleanupExecutor - Class in org.vaadin.spring.i18n
This class will start up a thread that will invoke CompositeMessageSource.clearMessageProviderCaches() on a regular interval if enabled (by default it is disabled).
MessageProviderCacheCleanupExecutor(Environment, CompositeMessageSource) - Constructor for class org.vaadin.spring.i18n.MessageProviderCacheCleanupExecutor
Creates a new MessageProviderCacheCleanupExecutor and starts up the cleanup thread if cache cleanup has been enabled.

O

org.vaadin.spring.i18n - package org.vaadin.spring.i18n
 
org.vaadin.spring.i18n.annotation - package org.vaadin.spring.i18n.annotation
 
org.vaadin.spring.i18n.config - package org.vaadin.spring.i18n.config
 
org.vaadin.spring.i18n.support - package org.vaadin.spring.i18n.support
 

R

resolveCode(String, Locale) - Method in class org.vaadin.spring.i18n.CompositeMessageSource
 
resolveCode(String, Locale) - Method in interface org.vaadin.spring.i18n.MessageProvider
Attempts to resolve the specified code for the specified locale.
resolveCode(String, Locale) - Method in class org.vaadin.spring.i18n.ResourceBundleMessageProvider
 
ResourceBundleMessageProvider - Class in org.vaadin.spring.i18n
Implementation of MessageProvider that reads messages from ResourceBundles with a specific base name.
ResourceBundleMessageProvider(String) - Constructor for class org.vaadin.spring.i18n.ResourceBundleMessageProvider
Creates a new ResourceBundleMessageProvider with the given base name and UTF-8 encoding.
ResourceBundleMessageProvider(String, String) - Constructor for class org.vaadin.spring.i18n.ResourceBundleMessageProvider
Creates a new ResourceBundleMessageProvider with the given base name and encoding.

S

setLocale(Locale) - Method in class org.vaadin.spring.i18n.support.TranslatableUI
setMessageFormatCacheEnabled(boolean) - Method in class org.vaadin.spring.i18n.CompositeMessageSource
Enables or disables caching of resolved messages.
setRevertToDefaultBundle(boolean) - Method in class org.vaadin.spring.i18n.I18N

T

Translatable - Interface in org.vaadin.spring.i18n.support
Interface to be implemented by all components that contain some kind of internationalized content that needs to be updated on the fly when the locale is changed.
TranslatableSupport - Class in org.vaadin.spring.i18n.support
Implementation of Translatable intended to be used as a delegate by an owning UI.
TranslatableSupport(UI) - Constructor for class org.vaadin.spring.i18n.support.TranslatableSupport
Creates a new TranslatableSupport.
TranslatableUI - Class in org.vaadin.spring.i18n.support
Base class intended to make it easier to write UIs that needs to support changing the locale on the fly.
TranslatableUI() - Constructor for class org.vaadin.spring.i18n.support.TranslatableUI
 

U

updateMessageStrings(Locale) - Method in interface org.vaadin.spring.i18n.support.Translatable
Called when the component should update all of its translatable strings, setting locales, etc.
updateMessageStrings(Locale) - Method in class org.vaadin.spring.i18n.support.TranslatableSupport
 
updateMessageStrings() - Method in class org.vaadin.spring.i18n.support.TranslatableUI
Updates the message strings of all Translatable components attached to this UI.
C D E G I M O R S T U 
Skip navigation links

Copyright © 2017. All rights reserved.