-
- All Known Implementing Classes:
FilterBase
public interface Filter
The interface for implementing Filters onSpreadsheetColumn
. Simply set a Filtered row on theSpreadsheetView
by usingSpreadsheetView.setFilteredRow(java.lang.Integer)
.
Then construct the Filters and add them to eachSpreadsheetColumn
.
A Filter is simply a customizableMenuButton
that will be displayed over the cell. It is primarily designed to filter some rows in the SpreadsheetView. But the MenuButton can serve any purpose since it is entirely customizable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MenuButton
getMenuButton()
Return the MenuButton displayed into the bottom-right corner of the cell.
-
-
-
Method Detail
-
getMenuButton
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.- Returns:
- the MenuButton displayed into the bottom-right corner of the cell.
-
-