public static class NumberPropertyEditor.BigDecimalPropertyEditor extends NumberPropertyEditor<BigDecimal>
BigDecimal
.NumberPropertyEditor.BigDecimalPropertyEditor, NumberPropertyEditor.BigIntegerPropertyEditor, NumberPropertyEditor.DoublePropertyEditor, NumberPropertyEditor.FloatPropertyEditor, NumberPropertyEditor.IntegerPropertyEditor, NumberPropertyEditor.LongPropertyEditor, NumberPropertyEditor.ShortPropertyEditor
alphaRegex, currencySymbolRegex, format, groupSeparator, numbers
DEFAULT
Constructor and Description |
---|
BigDecimalPropertyEditor()
Creates a number property editor for use with
BigDecimal . |
BigDecimalPropertyEditor(NumberFormat format)
Creates a number property editor for use with
BigDecimal that
uses the specified format when converting to (or from) a string. |
Modifier and Type | Method and Description |
---|---|
protected BigDecimal |
doDecr(BigDecimal value) |
protected BigDecimal |
doIncr(BigDecimal value) |
protected BigDecimal |
parseString(String string) |
protected BigDecimal |
returnTypedValue(Number number) |
compare, decr, getFormat, getIncrement, incr, parse, render, setFormat, setIncrement, stripValue
render
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public BigDecimalPropertyEditor()
BigDecimal
.public BigDecimalPropertyEditor(NumberFormat format)
BigDecimal
that
uses the specified format when converting to (or from) a string.format
- the format to use when converting to (or from) a stringprotected BigDecimal doDecr(BigDecimal value)
doDecr
in class NumberPropertyEditor<BigDecimal>
protected BigDecimal doIncr(BigDecimal value)
doIncr
in class NumberPropertyEditor<BigDecimal>
protected BigDecimal parseString(String string)
parseString
in class NumberPropertyEditor<BigDecimal>
protected BigDecimal returnTypedValue(Number number)
returnTypedValue
in class NumberPropertyEditor<BigDecimal>
Copyright © 2018. All rights reserved.