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) |
decr, getFormat, getIncrement, incr, parse, render, setFormat, setIncrement, stripValue
render
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.