Package org.jboss.common.beans.property
Class BigDecimalEditor
- java.lang.Object
-
- java.beans.PropertyEditorSupport
-
- org.jboss.common.beans.property.PropertyEditorSupport<java.math.BigDecimal>
-
- org.jboss.common.beans.property.BigDecimalEditor
-
- All Implemented Interfaces:
java.beans.PropertyEditor
,PropertyEditor<java.math.BigDecimal>
public class BigDecimalEditor extends PropertyEditorSupport<java.math.BigDecimal>
A property editor forBigDecimal
.
-
-
Constructor Summary
Constructors Constructor Description BigDecimalEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setAsText(java.lang.String text)
Set the property value by parsing a given String.-
Methods inherited from class org.jboss.common.beans.property.PropertyEditorSupport
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getAsText, getType, getValue, removePropertyChangeListener, removePropertyChangeListener, setValue
-
-
-
-
Method Detail
-
setAsText
public void setAsText(java.lang.String text)
Description copied from interface:PropertyEditor
Set the property value by parsing a given String. May raise java.lang.IllegalArgumentException if either the String is badly formatted or if this kind of property can't be expressed as text.- Specified by:
setAsText
in interfacejava.beans.PropertyEditor
- Specified by:
setAsText
in interfacePropertyEditor<java.math.BigDecimal>
- Specified by:
setAsText
in classPropertyEditorSupport<java.math.BigDecimal>
- Parameters:
text
- The string to be parsed.
-
-