Class AbstractMultiSheetFormattedSpreadSheetWriter

    • Field Detail

      • m_Locale

        protected Locale m_Locale
        the locale to use.
      • m_NumberFormat

        protected String m_NumberFormat
        The format for the numbers.
      • m_Formatter

        protected transient NumberFormat m_Formatter
        the formatter to use.
    • Constructor Detail

      • AbstractMultiSheetFormattedSpreadSheetWriter

        public AbstractMultiSheetFormattedSpreadSheetWriter()
    • Method Detail

      • setLocale

        public void setLocale​(Locale value)
        Sets the locale to use.
        Parameters:
        value - the locale
      • getLocale

        public Locale getLocale()
        Returns the locale in use.
        Returns:
        the locale
      • localeTipText

        public String localeTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • getDefaultNumberFormat

        protected String getDefaultNumberFormat()
        Returns the default number format.
        Returns:
        the default format
      • setNumberFormat

        public void setNumberFormat​(String value)
        Sets the number format.
        Parameters:
        value - the format
      • getNumberFormat

        public String getNumberFormat()
        Returns the number format.
        Returns:
        the format
      • numberFormatTipText

        public String numberFormatTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the explorer/experimenter gui
      • format

        protected String format​(double value)
        Formats the number according to the format and returns the generated textual representation.
        Parameters:
        value - the double value to turn into a string
        Returns:
        the generated string