net.sf.springlayout.web.controller.propertyeditor
Class NullableDecimalPropertyEditor
java.lang.Object
java.beans.PropertyEditorSupport
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)
|
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 |
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
NullableDecimalPropertyEditor
public NullableDecimalPropertyEditor(net.sf.springlayout.web.controller.propertyeditor.NullableDecimalPropertyEditor.Converter converter)
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.