Index
All Classes|All Packages
C
- compareTo(GwtLocale) - Method in interface org.gwtproject.i18n.shared.GwtLocale
-
The default comparison is a lexical ordering.
- Constants - Interface in org.gwtproject.i18n.client
-
A tag interface that facilitates locale-sensitive, compile-time binding of constant values supplied from properties files.
- Constants.DefaultBooleanValue - Annotation Type in org.gwtproject.i18n.client
-
Default boolean value to be used if no translation is found (and also used as the source for translation).
- Constants.DefaultDoubleValue - Annotation Type in org.gwtproject.i18n.client
-
Default double value to be used if no translation is found (and also used as the source for translation).
- Constants.DefaultFloatValue - Annotation Type in org.gwtproject.i18n.client
-
Default float value to be used if no translation is found (and also used as the source for translation).
- Constants.DefaultIntValue - Annotation Type in org.gwtproject.i18n.client
-
Default integer value to be used if no translation is found (and also used as the source for translation).
- Constants.DefaultStringArrayValue - Annotation Type in org.gwtproject.i18n.client
-
Default string array value to be used if no translation is found (and also used as the source for translation).
- Constants.DefaultStringMapValue - Annotation Type in org.gwtproject.i18n.client
-
Default string map value to be used if no translation is found (and also used as the source for translation).
- Constants.DefaultStringValue - Annotation Type in org.gwtproject.i18n.client
-
Default string value to be used if no translation is found (and also used as the source for translation).
- ConstantsWithLookup - Interface in org.gwtproject.i18n.client
-
Like
Constants, a tag interface that facilitates locale-sensitive, compile-time binding of constant values supplied from properties files with the added ability to look up constants at runtime with a string key.
D
- DEFAULT - Static variable in annotation type org.gwtproject.i18n.client.LocalizableResource.Generate
-
Placeholder used to detect that no value was supplied for the fileName parameter.
- DEFAULT_LOCALE - Static variable in annotation type org.gwtproject.i18n.client.LocalizableResource.DefaultLocale
- DEFAULT_LOCALE - Static variable in interface org.gwtproject.i18n.shared.GwtLocale
- Dictionary - Class in org.gwtproject.i18n.client
-
Provides dynamic string lookup of key/value string pairs defined in a module's host HTML page.
F
- fileName() - Method in annotation type org.gwtproject.i18n.client.LocalizableResource.Generate
-
A platform-specific filename for output.
- format() - Method in annotation type org.gwtproject.i18n.client.LocalizableResource.Generate
-
Fully-qualified class names of the generator classes.
- fromComponents(String, String, String, String) - Method in interface org.gwtproject.i18n.shared.GwtLocaleFactory
-
Construct a GWT locale from its component parts.
- fromString(String) - Method in interface org.gwtproject.i18n.shared.GwtLocaleFactory
-
Get a GWT locale from a string conforming to a subset of BCP47 (specifically assuming extension tags are not present, at most one variant is present, and grandfathered tags are not supported; also private-use tags are only supported for the entire tag).
G
- get(String) - Method in class org.gwtproject.i18n.client.Dictionary
-
Get the value associated with the given Dictionary key.
- getAliases() - Method in interface org.gwtproject.i18n.shared.GwtLocale
-
Returns the list of aliases for this locale.
- getAsString() - Method in interface org.gwtproject.i18n.shared.GwtLocale
-
Returns the locale as a fixed-format string suitable for use in searching for localized resources.
- getBoolean(String) - Method in interface org.gwtproject.i18n.client.ConstantsWithLookup
-
Look up
booleanby method name. - getCanonicalForm() - Method in interface org.gwtproject.i18n.shared.GwtLocale
-
Returns this locale in canonical form.
- getCompleteSearchList() - Method in interface org.gwtproject.i18n.shared.GwtLocale
-
Returns the complete list of locales to search for the current locale.
- getDefault() - Method in interface org.gwtproject.i18n.shared.GwtLocaleFactory
-
Returns an instance of the default locale.
- getDescription() - Method in class org.gwtproject.i18n.client.PluralRule.PluralForm
-
Returns the description.
- getDictionary(String) - Static method in class org.gwtproject.i18n.client.Dictionary
-
Returns the
Dictionaryobject associated with the given name. - getDouble(String) - Method in interface org.gwtproject.i18n.client.ConstantsWithLookup
-
Look up
doubleby method name. - getFloat(String) - Method in interface org.gwtproject.i18n.client.ConstantsWithLookup
-
Look up
floatby method name. - getInheritanceChain() - Method in interface org.gwtproject.i18n.shared.GwtLocale
-
Returns a list of locales to search for, in order of preference.
- getInt(String) - Method in interface org.gwtproject.i18n.client.ConstantsWithLookup
-
Look up
intby method name. - getLanguage() - Method in interface org.gwtproject.i18n.shared.GwtLocale
-
Returns the language portion of the locale, or null if none.
- getLanguageNotNull() - Method in interface org.gwtproject.i18n.shared.GwtLocale
-
Returns the language portion of the locale, or the empty string if none.
- getMap(String) - Method in interface org.gwtproject.i18n.client.ConstantsWithLookup
-
Look up
Mapby method name. - getName() - Method in class org.gwtproject.i18n.client.PluralRule.PluralForm
-
Returns the name.
- getRegion() - Method in interface org.gwtproject.i18n.shared.GwtLocale
-
Returns the region portion of the locale, or null if none.
- getRegionNotNull() - Method in interface org.gwtproject.i18n.shared.GwtLocale
-
Returns the region portion of the locale, or the empty string if none.
- getScript() - Method in interface org.gwtproject.i18n.shared.GwtLocale
-
Returns the script portion of the locale, or null if none.
- getScriptNotNull() - Method in interface org.gwtproject.i18n.shared.GwtLocale
-
Returns the script portion of the locale, or the empty string if none.
- getString(String) - Method in interface org.gwtproject.i18n.client.ConstantsWithLookup
-
Look up
Stringby method name. - getStringArray(String) - Method in interface org.gwtproject.i18n.client.ConstantsWithLookup
-
Look up
String[]by method name. - getVariant() - Method in interface org.gwtproject.i18n.shared.GwtLocale
-
Returns the variant portion of the locale, or null if none.
- getVariantNotNull() - Method in interface org.gwtproject.i18n.shared.GwtLocale
-
Returns the variant portion of the locale, or the empty string if none.
- getWarnIfMissing() - Method in class org.gwtproject.i18n.client.PluralRule.PluralForm
-
Returns true if the generator should warn if this plural form is not present.
- GwtLocale - Interface in org.gwtproject.i18n.shared
-
Class representing GWT locales and conversion to/from other formats.
- GwtLocaleFactory - Interface in org.gwtproject.i18n.shared
-
Factories that know how to create GwtLocale instances.
I
- inheritsFrom(GwtLocale) - Method in interface org.gwtproject.i18n.shared.GwtLocale
-
Returns true if this locale inherits from the specified locale.
- isDefault() - Method in interface org.gwtproject.i18n.shared.GwtLocale
-
Returns true if this is the default or root locale.
K
- keySet() - Method in class org.gwtproject.i18n.client.Dictionary
-
The set of keys associated with this dictionary.
L
- locales() - Method in annotation type org.gwtproject.i18n.client.LocalizableResource.Generate
-
A list of locales for which to generate this output file.
- Localizable - Interface in org.gwtproject.i18n.shared
-
A tag interface that serves as the root of a family of types used in static internationalization.
- Localizable.I18nLocaleSuffuxes - Annotation Type in org.gwtproject.i18n.shared
- Localizable.IsLocalizable - Annotation Type in org.gwtproject.i18n.shared
- LocalizableResource - Interface in org.gwtproject.i18n.client
-
This is the common superinterface to Messages and Constants.
- LocalizableResource.DefaultLocale - Annotation Type in org.gwtproject.i18n.client
-
Specifies the default locale for messages in this file.
- LocalizableResource.Description - Annotation Type in org.gwtproject.i18n.client
-
Specifies a description of the string to be translated, such as a note about the context.
- LocalizableResource.Generate - Annotation Type in org.gwtproject.i18n.client
-
Requests that a translation source file be generated from the annotated interface.
- LocalizableResource.GeneratedFrom - Annotation Type in org.gwtproject.i18n.client
-
Annotation indicating this is a generated file and the source file it was generated from.
- LocalizableResource.GenerateKeys - Annotation Type in org.gwtproject.i18n.client
-
Requests that the keys for messages be generated automatically.
- LocalizableResource.Key - Annotation Type in org.gwtproject.i18n.client
-
The key used for lookup of translated strings.
- LocalizableResource.Meaning - Annotation Type in org.gwtproject.i18n.client
-
Specifies the meaning of the translated string.
M
- Messages - Interface in org.gwtproject.i18n.client
-
A tag interface that facilitates locale-sensitive, compile-time binding of messages supplied from various sources.Using
GWT.create(class)to "instantiate" an interface that extendsMessagesreturns an instance of an automatically generated subclass that is implemented using message templates selected based on locale. - Messages.AlternateMessage - Annotation Type in org.gwtproject.i18n.client
-
Provides alternate forms of a message, such as are needed when plural forms are used or a placeholder has known gender.
- Messages.DefaultMessage - Annotation Type in org.gwtproject.i18n.client
-
Default text to be used if no translation is found (and also used as the source for translation).
- Messages.Example - Annotation Type in org.gwtproject.i18n.client
-
An example of the annotated parameter to assist translators.
- Messages.Offset - Annotation Type in org.gwtproject.i18n.client
-
Ignored except on parameters also tagged with
Messages.PluralCount, and provides an offset to be subtracted from the value before a plural rule is chosen or the value is formatted. - Messages.Optional - Annotation Type in org.gwtproject.i18n.client
-
Indicates the specified parameter is optional and need not appear in a particular translation of this message.
- Messages.PluralCount - Annotation Type in org.gwtproject.i18n.client
-
Provides multiple plural forms based on a count.
- Messages.PluralText - Annotation Type in org.gwtproject.i18n.client
-
Deprecated.
- Messages.Select - Annotation Type in org.gwtproject.i18n.client
-
Provides multiple forms based on a dynamic parameter.
O
- org.gwtproject.i18n.client - package org.gwtproject.i18n.client
- org.gwtproject.i18n.shared - package org.gwtproject.i18n.shared
P
- PluralForm(String, String) - Constructor for class org.gwtproject.i18n.client.PluralRule.PluralForm
-
Create the plural form.
- PluralForm(String, String, boolean) - Constructor for class org.gwtproject.i18n.client.PluralRule.PluralForm
-
Create the plural form.
- pluralForms() - Method in interface org.gwtproject.i18n.client.PluralRule
-
Returns the list of values which are valid for this rule.
- PluralRule - Interface in org.gwtproject.i18n.client
-
The interface that plural rules must implement.
- PluralRule.PluralForm - Class in org.gwtproject.i18n.client
-
Information about the plural forms supported by this rule which will be used during code generation and by tools to provide information to translators.
S
- select(int) - Method in interface org.gwtproject.i18n.client.PluralRule
-
Returns the plural form appropriate for this count.
- SupportedLocales - Annotation Type in org.gwtproject.i18n.shared
T
- toString() - Method in class org.gwtproject.i18n.client.Dictionary
- toString() - Method in interface org.gwtproject.i18n.shared.GwtLocale
-
Returns a human readable string -- "default" or the same as getAsString().
U
- usesSameScript(GwtLocale) - Method in interface org.gwtproject.i18n.shared.GwtLocale
-
Checks if this locale uses the same script as another locale.
V
- value() - Method in annotation type org.gwtproject.i18n.client.Constants.DefaultBooleanValue
- value() - Method in annotation type org.gwtproject.i18n.client.Constants.DefaultDoubleValue
- value() - Method in annotation type org.gwtproject.i18n.client.Constants.DefaultFloatValue
- value() - Method in annotation type org.gwtproject.i18n.client.Constants.DefaultIntValue
- value() - Method in annotation type org.gwtproject.i18n.client.Constants.DefaultStringArrayValue
- value() - Method in annotation type org.gwtproject.i18n.client.Constants.DefaultStringMapValue
-
Must be key-value pairs.
- value() - Method in annotation type org.gwtproject.i18n.client.Constants.DefaultStringValue
- value() - Method in annotation type org.gwtproject.i18n.client.LocalizableResource.DefaultLocale
- value() - Method in annotation type org.gwtproject.i18n.client.LocalizableResource.Description
- value() - Method in annotation type org.gwtproject.i18n.client.LocalizableResource.GeneratedFrom
- value() - Method in annotation type org.gwtproject.i18n.client.LocalizableResource.GenerateKeys
- value() - Method in annotation type org.gwtproject.i18n.client.LocalizableResource.Key
- value() - Method in annotation type org.gwtproject.i18n.client.LocalizableResource.Meaning
- value() - Method in annotation type org.gwtproject.i18n.client.Messages.AlternateMessage
-
An array of pairs of strings containing the strings for different forms.
- value() - Method in annotation type org.gwtproject.i18n.client.Messages.DefaultMessage
- value() - Method in annotation type org.gwtproject.i18n.client.Messages.Example
- value() - Method in annotation type org.gwtproject.i18n.client.Messages.Offset
- value() - Method in annotation type org.gwtproject.i18n.client.Messages.PluralCount
-
The PluralRule implementation to use for this message.
- value() - Method in annotation type org.gwtproject.i18n.client.Messages.PluralText
-
Deprecated.An array of pairs of strings containing the strings for different plural forms.
- value() - Method in annotation type org.gwtproject.i18n.shared.Localizable.I18nLocaleSuffuxes
- value() - Method in annotation type org.gwtproject.i18n.shared.SupportedLocales
- values() - Method in class org.gwtproject.i18n.client.Dictionary
-
Collection of values associated with this dictionary.
All Classes|All Packages
Messages.AlternateMessageinstead