org.apache.geronimo.common.propertyeditor
Class BigDecimalEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.apache.geronimo.common.propertyeditor.TextPropertyEditorSupport
          extended by org.apache.geronimo.common.propertyeditor.BigDecimalEditor
All Implemented Interfaces:
PropertyEditor

public class BigDecimalEditor
extends TextPropertyEditorSupport

A property editor for BigDecimal typed properties.


Constructor Summary
BigDecimalEditor()
           
 
Method Summary
 Object getValue()
          Convert the text value of the property into a BigDecimal instance.
 
Methods inherited from class org.apache.geronimo.common.propertyeditor.TextPropertyEditorSupport
setAsText
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BigDecimalEditor

public BigDecimalEditor()
Method Detail

getValue

public Object getValue()
Convert the text value of the property into a BigDecimal instance.

Specified by:
getValue in interface PropertyEditor
Overrides:
getValue in class PropertyEditorSupport
Returns:
a BigDecimal object constructed from the property text value.


Copyright © 2006 Apache Software Foundation. All Rights Reserved.