Top Description Fields Constructors Methods
org.controlsfx.control.spreadsheet

public Class FilterBase

extends Object
implements Filter
Class Inheritance
All Implemented Interfaces
org.controlsfx.control.spreadsheet.Filter
Imports
java.util.BitSet, .Comparator, .HashSet, .Set, javafx.beans.value.ChangeListener, .ObservableValue, javafx.collections.FXCollections, .ObservableList, javafx.event.ActionEvent, .EventHandler, javafx.scene.control.CheckBox, .CustomMenuItem, .ListCell, .ListView, .MenuButton, .MenuItem, javafx.util.Callback

A simple implementation of the Filter. It will show all rows available below it, and offer the possibility to sort and filter some row.

Field Summary

Modifier and TypeField and Description
private final Comparator<T>
private final int
private Set<String>
private final Comparator<T>
private BitSet
private final SpreadsheetView
private Set<String>

Constructor Summary

AccessConstructor and Description
public
FilterBase(SpreadsheetView spv, int column)

Constructor for the Filter indicating on which column it's applied on.

Method Summary

Modifier and TypeMethod and Description
private void
public MenuButton
getMenuButton()

Implements org.controlsfx.control.spreadsheet.Filter.getMenuButton.

Return the MenuButton displayed into the bottom-right corner of the cell.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ascendingCompback to summary
private final Comparator<T> ascendingComp
columnback to summary
private final int column
copySetback to summary
private Set<String> copySet
descendingCompback to summary
private final Comparator<T> descendingComp
hiddenRowsback to summary
private BitSet hiddenRows
spvback to summary
private final SpreadsheetView spv
stringSetback to summary
private Set<String> stringSet

Constructor Detail

FilterBaseback to summary
public FilterBase(SpreadsheetView spv, int column)

Constructor for the Filter indicating on which column it's applied on.

Method Detail

addMenuItemsback to summary
private void addMenuItems()
getMenuButtonback to summary
public MenuButton getMenuButton()

Implements org.controlsfx.control.spreadsheet.Filter.getMenuButton.

Doc from org.controlsfx.control.spreadsheet.Filter.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.

Annotations
@Override