Class FormattedNumberViewExtension

java.lang.Object
com.axemble.vdoc.sdk.view.extensions.BaseViewExtension
com.axemble.vdoc.sdk.view.extensions.FormattedNumberViewExtension
All Implemented Interfaces:
Serializable

public class FormattedNumberViewExtension extends BaseViewExtension
Generic view extension to format float, bigdecimal or double number Configuration : com.vdoc.behaviors.float.formatter.view-name.column.names=field-name1;field-name2 com.vdoc.behaviors.bigdecimal.formatter.view-name.column.names=field-name1;field-name2 com.vdoc.behaviors.double.formatter.view-name.column.names=field-name1;field-name2 Examples : com.vdoc.behaviors.float.formatter.TousLesDocumentsEnCours.column.names=floatNumber1;floatNumber2 com.vdoc.behaviors.bigdecimal.formatter.TousLesDocumentsEnCours.column.names=bigdecimalNumber1;bigdecimalNumber2 com.vdoc.behaviors.double.formatter.TousLesDocumentsEnCours.column.names=doubleNumber1;doubleNumber2
See Also:
  • Field Details

    • COLUMN_NAMES

      public static final String COLUMN_NAMES
      See Also:
    • first

      protected boolean first
    • decimalFormat

      protected DecimalFormat decimalFormat
    • bigDecimalFormat

      protected DecimalFormat bigDecimalFormat
    • doubleFormat

      protected DecimalFormat doubleFormat
    • isFormattedFloatProperty

      protected boolean isFormattedFloatProperty
    • isFormattedBigDecimalProperty

      protected boolean isFormattedBigDecimalProperty
    • isFormattedDoubleProperty

      protected boolean isFormattedDoubleProperty
  • Constructor Details

    • FormattedNumberViewExtension

      public FormattedNumberViewExtension()
  • Method Details