Class FilterBase

  • All Implemented Interfaces:
    Filter

    public class FilterBase
    extends Object
    implements Filter
    A simple implementation of the Filter. It will show all rows available below it, and offer the possibility to sort and filter some row.
    • Constructor Detail

      • FilterBase

        public FilterBase​(SpreadsheetView spv,
                          int column)
        Constructor for the Filter indicating on which column it's applied on.
        Parameters:
        spv -
        column -
    • Method Detail

      • getMenuButton

        public MenuButton getMenuButton()
        Return the MenuButton displayed into the bottom-right corner of the cell. This method will be called whenever the user clicks on this Filter.
        Specified by:
        getMenuButton in interface Filter
        Returns:
        the MenuButton displayed into the bottom-right corner of the cell.