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