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