Class AbstractNumericFormat
java.lang.Object
com.softwaremining.wrappers.format.Format
com.softwaremining.wrappers.format.AbstractNumericFormat
- Direct Known Subclasses:
NumericEditedFormat,NumericFormat,NumericFormatFloat
Abstract Class - for internal use only
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic charprotected intprotected intFields inherited from class com.softwaremining.wrappers.format.Format
additionalParamsPostfixesMap, justifiedRight, totalRuntime_convertFromDisplayToStorage, totalRuntime_getInstance -
Method Summary
Modifier and TypeMethodDescriptionadjustPercision(Number value) make sure that the faction part is either removed for 'integers' or padded for decimals.intfor internal use onlystatic charbooleanbooleanbooleanisSigned()voidsetBlankWhenZero(boolean blankWhenZero) Methods inherited from class com.softwaremining.wrappers.format.Format
assignJustifiedRight, convertFromDisplayToStorage, convertFromDisplayToStorage, convertFromDisplayToStorage, convertFromDisplayToStorage, convertFromDisplayToStorage, convertFromDisplayToStorage, convertFromDisplayToStorage, convertFromDisplayToStorage, convertFromStorageToDisplayFormat, getAllFormatInstances, getInstance, getInstance, getNumberOfDigits, getPicture, getSQLObject, getStorageCellSize, isCompressed, isJustifiedRight, setPicture, toString
-
Field Details
-
DECIMAL_POINT_ON_SYSTEM
public static char DECIMAL_POINT_ON_SYSTEM -
scalingPositionsBeforeDecimal
protected int scalingPositionsBeforeDecimal -
scalingPositionsAfterDecimal
protected int scalingPositionsAfterDecimal
-
-
Method Details
-
adjustPercision
-
isDecimal
public boolean isDecimal() -
getSystemDecimalPoint
public static char getSystemDecimalPoint() -
isSigned
public boolean isSigned() -
getFractionSize
public int getFractionSize()for internal use only- Returns:
-
setBlankWhenZero
public void setBlankWhenZero(boolean blankWhenZero) -
isBlankWhenZero
public boolean isBlankWhenZero()
-