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

public abstract Class PopupFilter<S, T>

extends PopupControl
Class Inheritance
Known Direct Subclasses
org.controlsfx.control.tableview2.filter.popupfilter.PopupNumberFilter, org.controlsfx.control.tableview2.filter.popupfilter.PopupStringFilter
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.
Imports
impl.org.controlsfx.tableview2.filter.popupfilter.PopupFilterSkin, javafx.beans.property.SimpleStringProperty, .StringProperty, javafx.scene.Node, javafx.scene.control.PopupControl, .Skin, javafx.stage.Window, org.controlsfx.control.tableview2.FilteredTableColumn, org.controlsfx.control.tableview2.filter.parser.Parser, java.util.List

A popup control containing a javafx.scene.control.TextField to filter data in a org.controlsfx.control.tableview2.FilteredTableView. The control accepts a FilteredTableColumn on which the filter is to be applied. showPopup() should be called to show the popup.

Field Summary

Modifier and TypeField and Description
private static final String
DEFAULT_STYLE_CLASS

* Stylesheet Handling * *

private final FilteredTableColumn<S, T>
protected final StringProperty
text

The textual content of this PopupFilter.

Inherited from javafx.scene.control.PopupControl:
bridgeUSE_COMPUTED_SIZEUSE_PREF_SIZE

Constructor Summary

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

Creates a new instance of PopupFilter.

Method Summary

Modifier and TypeMethod and Description
protected Skin<?>
createDefaultSkin()

Overrides javafx.scene.control.PopupControl.createDefaultSkin.

Create a new instance of the default skin for this control.

public abstract List<String>

Returns:

A list of operations.
getOperations
()

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

public abstract Parser<T>

Returns:

A Parser.
getParser
()

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

public FilteredTableColumn<S, T>

Returns:

TableColumn associated with this PopupFilter.
getTableColumn
()

Returns the TableColumn associated with this PopupFilter.

public final String
public final void
setText(String value)

public void
showPopup()

Shows the pop up just below the column header.

public final StringProperty
Inherited from javafx.scene.control.PopupControl:
getClassCssMetaDatagetCssMetaDatagetIdgetMaxHeightgetMaxWidthgetMinHeightgetMinWidthgetPrefHeightgetPrefWidthgetPseudoClassStatesgetSkingetStylegetStyleableNodegetStyleableParentgetStyleClassgetTypeSelectoridPropertymaxHeightmaxHeightPropertymaxWidthmaxWidthPropertyminHeightminHeightPropertyminWidthminWidthPropertyprefHeightprefHeightPropertyprefWidthprefWidthPropertypseudoClassStateChangedsetIdsetMaxHeightsetMaxSizesetMaxWidthsetMinHeightsetMinSizesetMinWidthsetPrefHeightsetPrefSizesetPrefWidthsetSkinsetStyleskinPropertystyleProperty

Field Detail

DEFAULT_STYLE_CLASSback to summary
private static final String DEFAULT_STYLE_CLASS

* Stylesheet Handling * *

tableColumnback to summary
private final FilteredTableColumn<S, T> tableColumn
textback to summary
protected final StringProperty text

The textual content of this PopupFilter.

Constructor Detail

PopupFilterback to summary
public PopupFilter(FilteredTableColumn<S, T> tableColumn)

Creates a new instance of PopupFilter.

Parameters
tableColumn:FilteredTableColumn<S, T>

TableColumn associated with this PopupFilter.

Method Detail

createDefaultSkinback to summary
protected Skin<?> createDefaultSkin()

Overrides javafx.scene.control.PopupControl.createDefaultSkin.

Doc from javafx.scene.control.PopupControl.createDefaultSkin.

Create a new instance of the default skin for this control. This is called to create a skin for the control if no skin is provided via CSS -fx-skin or set explicitly in a sub-class with setSkin(...).

Annotations
@Override
getOperationsback to summary
public abstract List<String> getOperations()

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

Returns:List<String>

A list of operations.

getParserback to summary
public abstract Parser<T> getParser()

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

Returns:Parser<T>

A Parser.

getTableColumnback to summary
public FilteredTableColumn<S, T> getTableColumn()

Returns the TableColumn associated with this PopupFilter.

Returns:FilteredTableColumn<S, T>

TableColumn associated with this PopupFilter.

getTextback to summary
public final String getText()
setTextback to summary
public final void setText(String value)
showPopupback to summary
public void showPopup()

Shows the pop up just below the column header.

textPropertyback to summary
public final StringProperty textProperty()