Top Description Fields Constructors Methods
org.controlsfx.control.tableview2.filter.popupfilter

public Class PopupStringFilter<S, T>

extends PopupFilter<S, T>
Class Inheritance
Type Parameters
<S>
Type of the objects contained within the org.controlsfx.control.tableview2.FilteredTableView items list.
<T>
Type of the content to be filtered, which is similar to the type of cells contained in the FilteredTableColumn. Should be a String or an Object, in case a StringConverter is provided.
Imports
impl.org.controlsfx.tableview2.filter.parser.string.StringParser, javafx.beans.property.BooleanProperty, .ObjectProperty, .SimpleBooleanProperty, .SimpleObjectProperty, javafx.util.StringConverter, org.controlsfx.control.tableview2.FilteredTableColumn, org.controlsfx.control.tableview2.filter.parser.Parser, java.util.List

PopupFilter to be used on org.controlsfx.control.tableview2.FilteredTableView containing cells of String type.

Field Summary

Modifier and TypeField and Description
private final BooleanProperty
private final ObjectProperty<StringConverter<T>>
converter

Converts the user-typed input (when the PopupStringFilter to an object of type T.

private final StringParser<T>
Inherited from org.controlsfx.control.tableview2.filter.popupfilter.PopupFilter:
text

Constructor Summary

AccessConstructor and Description
public
PopupStringFilter(FilteredTableColumn<S, T>
TableColumn associated with PopupFilter
tableColumn
)

Creates a new instance of PopupStringFilter.

Method Summary

Modifier and TypeMethod and Description
public final BooleanProperty
public final ObjectProperty<StringConverter<T>>
private static <T> StringConverter<T>
defaultStringConverter()

* Static properties and methods * *

public final StringConverter<T>
public List<String>
getOperations()

Implements abstract org.controlsfx.control.tableview2.filter.popupfilter.PopupFilter.getOperations.

Returns a list of operations which can be performed on this PopupFilter.

public Parser<T>
getParser()

Implements abstract org.controlsfx.control.tableview2.filter.popupfilter.PopupFilter.getParser.

Returns a TextParser which is used to parse the text in the TextField and filter the data.

public final void
Inherited from org.controlsfx.control.tableview2.filter.popupfilter.PopupFilter:
createDefaultSkingetTableColumngetTextsetTextshowPopuptextProperty

Field Detail

caseSensitiveback to summary
private final BooleanProperty caseSensitive
converterback to summary
private final ObjectProperty<StringConverter<T>> converter

Converts the user-typed input (when the PopupStringFilter to an object of type T.

stringParserback to summary
private final StringParser<T> stringParser

Constructor Detail

PopupStringFilterback to summary
public PopupStringFilter(FilteredTableColumn<S, T> tableColumn)

Creates a new instance of PopupStringFilter.

Parameters
tableColumn:FilteredTableColumn<S, T>

TableColumn associated with PopupFilter

Method Detail

caseSensitivePropertyback to summary
public final BooleanProperty caseSensitiveProperty()
converterPropertyback to summary
public final ObjectProperty<StringConverter<T>> converterProperty()
defaultStringConverterback to summary
private static <T> StringConverter<T> defaultStringConverter()

* Static properties and methods * *

getConverterback to summary
public final StringConverter<T> getConverter()
getOperationsback to summary
public List<String> getOperations()

Implements abstract org.controlsfx.control.tableview2.filter.popupfilter.PopupFilter.getOperations.

Doc from org.controlsfx.control.tableview2.filter.popupfilter.PopupFilter.getOperations.

Returns a list of operations which can be performed on this PopupFilter.

Annotations
@Override
getParserback to summary
public Parser<T> getParser()

Implements abstract org.controlsfx.control.tableview2.filter.popupfilter.PopupFilter.getParser.

Doc from org.controlsfx.control.tableview2.filter.popupfilter.PopupFilter.getParser.

Returns a TextParser which is used to parse the text in the TextField and filter the data.

Annotations
@Override
setConverterback to summary
public final void setConverter(StringConverter<T> value)