Class ComboBoxFilterIconPainter

All Implemented Interfaces:
ICellPainter

public class ComboBoxFilterIconPainter extends ImagePainter
ImagePainter that is responsible for painting the icon into the filter row cells that are configured to show Excel like filter comboboxes. It will handle 2 different icons:
  • removeFilterImage - Image that is rendered if a filter is applied for that cell.
  • comboImage - Image that is rendered if no filter is applied for that cell
  • Constructor Details

    • ComboBoxFilterIconPainter

      public ComboBoxFilterIconPainter(IComboBoxDataProvider comboBoxDataProvider)
      Parameters:
      comboBoxDataProvider - The IComboBoxDataProvider that is used to fill the filter comboboxes.
    • ComboBoxFilterIconPainter

      public ComboBoxFilterIconPainter(IComboBoxDataProvider comboBoxDataProvider, org.eclipse.swt.graphics.Image removeFilterImage, org.eclipse.swt.graphics.Image comboImage)
      Parameters:
      comboBoxDataProvider - The IComboBoxDataProvider that is used to fill the filter comboboxes.
      removeFilterImage - Icon that will be rendered if a filter is applied for a cell in a filter row.
      comboImage - Icon that is rendered if no filter is applied for a cell in a filter row, and the configured cell editor for that cell is a ComboBoxCellEditor.
  • Method Details