public class UifCurrencyEditor extends PropertyEditorSupport implements Serializable
org.kuali.rice.core.api.util.type.KualiDecimal
in the local
currencyConstructor 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, supportsCustomEditor
public UifCurrencyEditor()
public String getAsText()
getAsText
in interface PropertyEditor
getAsText
in class PropertyEditorSupport
PropertyEditorSupport.getAsText()
public void setAsText(String text)
convertToObject
method to make the code
available to sub classes.setAsText
in interface PropertyEditor
setAsText
in class PropertyEditorSupport
PropertyEditorSupport.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.