public class UifCurrencyEditor extends PropertyEditorSupport implements Serializable
org.kuali.rice.core.api.util.type.KualiDecimal in the local
currency| Constructor and Description |
|---|
UifCurrencyEditor() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
convertToObject(String text)
Converts the string to a
org.kuali.rice.core.api.util.type.KualiDecimal object using the
local currency format. |
String |
getAsText()
This overridden method ...
|
void |
setAsText(String text)
This overridden method sets the property value by parsing a given String.
|
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditorpublic UifCurrencyEditor()
public String getAsText()
getAsText in interface PropertyEditorgetAsText in class PropertyEditorSupportPropertyEditorSupport.getAsText()public void setAsText(String text)
convertToObject method to make the code
available to sub classes.setAsText in interface PropertyEditorsetAsText in class PropertyEditorSupportPropertyEditorSupport.setAsText(java.lang.String)protected Object convertToObject(String text)
org.kuali.rice.core.api.util.type.KualiDecimal object using the
local currency format.text - the text from the UI to convertorg.kuali.rice.core.api.util.type.KualiDecimal
object to be set on the beanCopyright © 2005–2016 The Kuali Foundation. All rights reserved.