public static class NumberPropertyEditor.DoublePropertyEditor extends NumberPropertyEditor<Double>
Double
.NumberPropertyEditor.BigDecimalPropertyEditor, NumberPropertyEditor.BigIntegerPropertyEditor, NumberPropertyEditor.DoublePropertyEditor, NumberPropertyEditor.FloatPropertyEditor, NumberPropertyEditor.IntegerPropertyEditor, NumberPropertyEditor.LongPropertyEditor, NumberPropertyEditor.ShortPropertyEditor
alphaRegex, currencySymbolRegex, format, groupSeparator, numbers
DEFAULT
Constructor and Description |
---|
DoublePropertyEditor()
Creates a number property editor for use with
Double . |
DoublePropertyEditor(NumberFormat format)
Creates a number property editor for use with
Double that uses
the specified format when converting to (or from) a string. |
Modifier and Type | Method and Description |
---|---|
Double |
doDecr(Double value) |
Double |
doIncr(Double value) |
protected Double |
parseString(String string) |
protected Double |
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 DoublePropertyEditor()
Double
.public DoublePropertyEditor(NumberFormat format)
Double
that uses
the specified format when converting to (or from) a string.format
- the format to use when converting to (or from) a stringpublic Double doDecr(Double value)
doDecr
in class NumberPropertyEditor<Double>
public Double doIncr(Double value)
doIncr
in class NumberPropertyEditor<Double>
protected Double parseString(String string)
parseString
in class NumberPropertyEditor<Double>
protected Double returnTypedValue(Number number)
returnTypedValue
in class NumberPropertyEditor<Double>
Copyright © 2018. All rights reserved.