|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CurrencyData
Information about a currency.
Method Summary | |
---|---|
java.lang.String |
getCurrencyCode()
Returns the ISO4217 code for this currency. |
java.lang.String |
getCurrencySymbol()
Returns the default symbol to use for this currency. |
int |
getDefaultFractionDigits()
Returns the default number of decimal positions for this currency. |
java.lang.String |
getPortableCurrencySymbol()
Returns the default symbol to use for this currency, intended to be recognizable in most locales. |
java.lang.String |
getSimpleCurrencySymbol()
Returns the simplest symbol to use for this currency, which is not guaranteed to be unique -- for example, this might return "$" for both USD and CAD. |
boolean |
isDeprecated()
Returns true if this currency is deprecated and should not be returned by default in currency lists. |
boolean |
isSpaceForced()
Returns true if there should always be a space between the currency symbol and the number, false if there should be no space. |
boolean |
isSpacingFixed()
Returns true if the spacing between the currency symbol and the number is fixed regardless of locale defaults. |
boolean |
isSymbolPositionFixed()
Returns true if the position of the currency symbol relative to the number is fixed regardless of locale defaults. |
boolean |
isSymbolPrefix()
Returns true if the currency symbol should go before the number, false if it should go after the number. |
Method Detail |
---|
java.lang.String getCurrencyCode()
java.lang.String getCurrencySymbol()
int getDefaultFractionDigits()
java.lang.String getPortableCurrencySymbol()
getCurrencySymbol()
.
java.lang.String getSimpleCurrencySymbol()
getCurrencySymbol()
.
boolean isDeprecated()
boolean isSpaceForced()
isSpacingFixed()
returns true.
boolean isSpacingFixed()
isSpaceForced()
.
boolean isSymbolPositionFixed()
isSymbolPrefix()
.
boolean isSymbolPrefix()
isSymbolPositionFixed()
is true.
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |