Class DistinctValueCellRenderingCustomizer

    • Field Detail

      • m_ColorProvider

        protected ColorProvider m_ColorProvider
        the color provider to use for the background.
      • m_PredefinedValues

        protected BaseString[] m_PredefinedValues
        the predefined values.
      • m_Colors

        protected transient Map<String,​Color> m_Colors
        the value color mapping.
      • m_LastSpreadSheet

        protected transient SpreadSheet m_LastSpreadSheet
        the last spreadsheet that was used.
    • Constructor Detail

      • DistinctValueCellRenderingCustomizer

        public DistinctValueCellRenderingCustomizer()
    • Method Detail

      • getDefaultColorProvider

        protected ColorProvider getDefaultColorProvider()
        Returns the default color generator.
        Returns:
        the generator
      • setColorProvider

        public void setColorProvider​(ColorProvider value)
        Sets the color provider to use for generating the distinct values.
        Parameters:
        value - the provider
      • getColorProvider

        public ColorProvider getColorProvider()
        Returns the color provider to use for generating the distinct values.
        Returns:
        the provider
      • colorProviderTipText

        public String colorProviderTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • setPredefinedValues

        public void setPredefinedValues​(BaseString[] value)
        Sets the predefined values to highlight.
        Parameters:
        value - the values
      • getPredefinedValues

        public BaseString[] getPredefinedValues()
        Returns the predefined values to highlight.
        Returns:
        the values
      • predefinedValuesTipText

        public String predefinedValuesTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • initColors

        protected void initColors​(SpreadSheet sheet)
        Initializes the color lookup table.
        Parameters:
        sheet - the spreadsheet to use for initializing