net.sf.springlayout.web.controller.propertyeditor
Class NullableDecimalPropertyEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by net.sf.springlayout.web.controller.propertyeditor.NullableDecimalPropertyEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public final class NullableDecimalPropertyEditor
extends java.beans.PropertyEditorSupport

A property editor that handles decimal round numbers.


Field Summary
static net.sf.springlayout.web.controller.propertyeditor.NullableDecimalPropertyEditor.Converter BYTE_CONVERTER
           
static net.sf.springlayout.web.controller.propertyeditor.NullableDecimalPropertyEditor.Converter INTEGER_CONVERTER
           
static net.sf.springlayout.web.controller.propertyeditor.NullableDecimalPropertyEditor.Converter LONG_CONVERTER
           
static net.sf.springlayout.web.controller.propertyeditor.NullableDecimalPropertyEditor.Converter SHORT_CONVERTER
           
 
Constructor Summary
NullableDecimalPropertyEditor(net.sf.springlayout.web.controller.propertyeditor.NullableDecimalPropertyEditor.Converter converter)
           
 
Method Summary
 java.lang.String getAsText()
           
 void setAsText(java.lang.String text)
           
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BYTE_CONVERTER

public static final net.sf.springlayout.web.controller.propertyeditor.NullableDecimalPropertyEditor.Converter BYTE_CONVERTER

SHORT_CONVERTER

public static final net.sf.springlayout.web.controller.propertyeditor.NullableDecimalPropertyEditor.Converter SHORT_CONVERTER

INTEGER_CONVERTER

public static final net.sf.springlayout.web.controller.propertyeditor.NullableDecimalPropertyEditor.Converter INTEGER_CONVERTER

LONG_CONVERTER

public static final net.sf.springlayout.web.controller.propertyeditor.NullableDecimalPropertyEditor.Converter LONG_CONVERTER
Constructor Detail

NullableDecimalPropertyEditor

public NullableDecimalPropertyEditor(net.sf.springlayout.web.controller.propertyeditor.NullableDecimalPropertyEditor.Converter converter)
Method Detail

setAsText

public void setAsText(java.lang.String text)
               throws java.lang.IllegalArgumentException
Specified by:
setAsText in interface java.beans.PropertyEditor
Overrides:
setAsText in class java.beans.PropertyEditorSupport
Throws:
java.lang.IllegalArgumentException

getAsText

public java.lang.String getAsText()
Specified by:
getAsText in interface java.beans.PropertyEditor
Overrides:
getAsText in class java.beans.PropertyEditorSupport


Copyright © 2005-2007 Spring Layout Team. All Rights Reserved.