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