Class MultiCellRenderingCustomizer

    • Constructor Detail

      • MultiCellRenderingCustomizer

        public MultiCellRenderingCustomizer()
    • Method Detail

      • setRenderers

        public void setRenderers​(CellRenderingCustomizer[] value)
        Sets the sub-renderers.
        Parameters:
        value - the renderers
      • renderersTipText

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

        public String getToolTipText​(SpreadSheetTable table,
                                     boolean isSelected,
                                     boolean hasFocus,
                                     int row,
                                     int column,
                                     Cell cell,
                                     String defTip)
        For customizing the tooltip text.
        Specified by:
        getToolTipText in interface CellRenderingCustomizer
        Overrides:
        getToolTipText in class AbstractCellRenderingCustomizer
        Parameters:
        table - the table
        isSelected - whether the cell is selected
        hasFocus - whether the cell is focused
        row - the current row
        column - the current column
        cell - the actual cell
        defTip - the default tip text
        Returns:
        the tip text
      • getHorizontalAlignment

        public int getHorizontalAlignment​(SpreadSheetTable table,
                                          boolean isSelected,
                                          boolean hasFocus,
                                          int row,
                                          int column,
                                          Cell cell,
                                          int defAlign)
        For customizing the horizontal alignment of a cell.
        Specified by:
        getHorizontalAlignment in interface CellRenderingCustomizer
        Overrides:
        getHorizontalAlignment in class AbstractCellRenderingCustomizer
        Parameters:
        table - the table
        isSelected - whether the cell is selected
        hasFocus - whether the cell is focused
        row - the current row
        column - the current column
        cell - the actual cell
        defAlign - the default alignment
        Returns:
        the alignment