|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
com.google.gwt.widgetideas.client.CurrencyWidget
public class CurrencyWidget
TODO:Add javadoc
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
Field Summary | |
---|---|
protected static java.lang.String |
acceptableCharset
|
protected com.google.gwt.user.client.ui.TextBox |
amountBox
|
protected static com.google.gwt.i18n.client.constants.CurrencyCodeMapConstants |
currencyCodeMapConstants
|
protected com.google.gwt.user.client.ui.Label |
currencySymbol
|
protected com.google.gwt.i18n.client.NumberFormat |
formatter
|
protected com.google.gwt.user.client.ui.HorizontalPanel |
horizontalPanel
|
protected static com.google.gwt.i18n.client.constants.NumberConstants |
numberConstants
|
protected boolean |
valueInitiated
|
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
CurrencyWidget()
Constructs a CurrencyWidget object. |
|
CurrencyWidget(java.lang.String currencyCode)
Constructs a CurrencyWidget object with specified currency. |
Method Summary | |
---|---|
double |
getAmount()
|
protected java.lang.String |
getCurrencyAmountPattern()
|
protected java.lang.String |
getCurrencySymbol(java.lang.String currencyCode)
|
protected boolean |
isLeadingSymbol()
|
protected java.lang.String |
reformatContent()
|
Methods inherited from class com.google.gwt.user.client.ui.Composite |
---|
getElement, getWidget, initWidget, isAttached, onAttach, onDetach, setWidget |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
doAttachChildren, doDetachChildren, getParent, onBrowserEvent, onLoad, onUnload, removeFromParent, setElement |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final com.google.gwt.i18n.client.constants.NumberConstants numberConstants
protected static final com.google.gwt.i18n.client.constants.CurrencyCodeMapConstants currencyCodeMapConstants
protected static java.lang.String acceptableCharset
protected final com.google.gwt.user.client.ui.HorizontalPanel horizontalPanel
protected final com.google.gwt.user.client.ui.Label currencySymbol
protected final com.google.gwt.user.client.ui.TextBox amountBox
protected final com.google.gwt.i18n.client.NumberFormat formatter
protected boolean valueInitiated
Constructor Detail |
---|
public CurrencyWidget()
public CurrencyWidget(java.lang.String currencyCode)
currencyCode
- International currency code (ISO 4217).Method Detail |
---|
public double getAmount()
protected java.lang.String getCurrencyAmountPattern()
protected java.lang.String getCurrencySymbol(java.lang.String currencyCode)
protected boolean isLeadingSymbol()
protected java.lang.String reformatContent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |