public class CurrencyEditor
extends java.beans.PropertyEditorSupport
java.util.Currency
, translating currency codes into Currency
objects. Exposes the currency code as text representation of a Currency object.Currency
Constructor and Description |
---|
CurrencyEditor() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAsText() |
void |
setAsText(java.lang.String text) |
public void setAsText(java.lang.String text) throws java.lang.IllegalArgumentException
setAsText
in interface java.beans.PropertyEditor
setAsText
in class java.beans.PropertyEditorSupport
java.lang.IllegalArgumentException
public java.lang.String getAsText()
getAsText
in interface java.beans.PropertyEditor
getAsText
in class java.beans.PropertyEditorSupport