Package | Description |
---|---|
com.google.gwt.i18n.client |
Internationalization support for GWT applications.
|
com.google.gwt.i18n.client.impl |
Modifier and Type | Class and Description |
---|---|
class |
DefaultCurrencyData
A default
CurrencyData implementation, so new methods can be added
to the interface without breaking implementors if a reasonable default is
available. |
Modifier and Type | Field and Description |
---|---|
protected HashMap<String,CurrencyData> |
CurrencyList.dataMapJava
Map of currency codes to CurrencyData.
|
Modifier and Type | Method and Description |
---|---|
CurrencyData |
CurrencyList.getDefault()
Return the default currency data for this locale.
|
protected CurrencyData |
CurrencyList.getDefaultJava()
Return the default currency data for this locale.
|
protected CurrencyData |
CurrencyList.getDefaultNative()
Return the default currency data for this locale.
|
CurrencyData |
CurrencyList.lookup(String currencyCode)
Lookup a currency based on the ISO4217 currency code.
|
Modifier and Type | Method and Description |
---|---|
Iterator<CurrencyData> |
CurrencyList.iterator()
Returns an iterator for the list of currencies.
|
Iterator<CurrencyData> |
CurrencyList.iterator(boolean includeDeprecated)
Returns an iterator for the list of currencies, optionally including
deprecated ones.
|
protected HashMap<String,CurrencyData> |
CurrencyList.loadCurrencyMapJava()
Loads the currency map.
|
Modifier and Type | Method and Description |
---|---|
static NumberFormat |
NumberFormat.getCurrencyFormat(CurrencyData currencyData)
Provides the standard currency format for the current locale using a
specified currency.
|
static NumberFormat |
NumberFormat.getFormat(String pattern,
CurrencyData currencyData)
Gets a custom
NumberFormat instance for the default locale
using the specified pattern and currency code. |
static NumberFormat |
NumberFormat.getGlobalCurrencyFormat(CurrencyData currencyData)
Provides the global currency format for the current locale, using a
specified currency.
|
static NumberFormat |
NumberFormat.getSimpleCurrencyFormat(CurrencyData currencyData)
Provides the simple currency format for the current locale using a
specified currency.
|
Constructor and Description |
---|
NumberFormat(NumberConstants numberConstants,
String pattern,
CurrencyData cdata,
boolean userSuppliedPattern)
Constructs a format object based on the specified settings.
|
NumberFormat(String pattern,
CurrencyData cdata,
boolean userSuppliedPattern)
Constructs a format object for the default locale based on the specified
settings.
|
Modifier and Type | Class and Description |
---|---|
class |
CurrencyDataImpl
A POJO for currency data.
|
class |
CurrencyDataJso
JSO Overlay type that wraps currency data.
|
Copyright © 2018. All rights reserved.