java.lang.Object
javafx.scene.Node
javafx.scene.Parent
javafx.scene.layout.Region
javafx.scene.control.Control
com.dlsc.gemsfx.FilterView<T>
- Type Parameters:
T- the type of the model objects filtered by the view
- All Implemented Interfaces:
javafx.css.Styleable,javafx.event.EventTarget,javafx.scene.control.Skinnable
public class FilterView<T>
extends javafx.scene.control.Control
A view for presenting a set of predefined filter groups, each one with a list of filters.
The user can select one or more filters from each group. Elements found in the resulting
filtered list have to match ALL filters. The selected filters will be shown as "chips"
(see @link
ChipView).
Items can be added via the getItems() list. Table or list views have to use
the getFilteredItems() list. This filtered list can also be wrapped via a
SortedList and then added to a table or list view.
An input field for filtering based on text input will appear as soon as a text filter provider
has been defined. See setTextFilterProvider(Callback).
Applications with additional filtering needs can utilize the additionalFilterPredicateProperty().
-
Property Summary
PropertiesTypePropertyDescriptionfinal javafx.beans.property.ObjectProperty<javafx.scene.Node>An extra node that can be added to the header of the filter view.final javafx.beans.property.ReadOnlyListProperty<T>final javafx.beans.property.ListProperty<FilterView.FilterGroup<T>>javafx.beans.property.ListProperty<FilterView.Filter<T>>final javafx.beans.property.StringPropertyStores the filter text entered by the user inside the filter text field.final javafx.beans.property.ListProperty<T>The list of items that will be managed by the view.final javafx.beans.property.BooleanPropertyA flag to control whether the title, subtitle, and the search field will be shown or not.javafx.beans.property.ObjectProperty<javafx.scene.control.Label>The label instance that will be used for displaying the subtitle of the view.final javafx.beans.property.StringPropertyThe subtitle text for the filter view.Returns a filter predicate for a given text.final javafx.beans.property.ObjectProperty<javafx.scene.control.Label>The label instance that will be used for displaying the title of the view.final javafx.beans.property.ObjectProperty<javafx.scene.control.Label>The label instance that will be used for displaying the title postfix text of the view.final javafx.beans.property.StringPropertyA text that can be added to the title text.final javafx.beans.property.StringPropertyThe title for the filter viewProperties inherited from class javafx.scene.control.Control
contextMenu, skin, tooltipProperties inherited from class javafx.scene.layout.Region
background, border, cacheShape, centerShape, height, insets, maxHeight, maxWidth, minHeight, minWidth, opaqueInsets, padding, prefHeight, prefWidth, scaleShape, shape, snapToPixel, widthProperties inherited from class javafx.scene.Parent
needsLayoutProperties inherited from class javafx.scene.Node
accessibleHelp, accessibleRoleDescription, accessibleRole, accessibleText, blendMode, boundsInLocal, boundsInParent, cacheHint, cache, clip, cursor, depthTest, disabled, disable, effectiveNodeOrientation, effect, eventDispatcher, focused, focusTraversable, focusVisible, focusWithin, hover, id, inputMethodRequests, layoutBounds, layoutX, layoutY, localToParentTransform, localToSceneTransform, managed, mouseTransparent, nodeOrientation, onContextMenuRequested, onDragDetected, onDragDone, onDragDropped, onDragEntered, onDragExited, onDragOver, onInputMethodTextChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseClicked, onMouseDragEntered, onMouseDragExited, onMouseDragged, onMouseDragOver, onMouseDragReleased, onMouseEntered, onMouseExited, onMouseMoved, onMousePressed, onMouseReleased, onRotate, onRotationFinished, onRotationStarted, onScrollFinished, onScroll, onScrollStarted, onSwipeDown, onSwipeLeft, onSwipeRight, onSwipeUp, onTouchMoved, onTouchPressed, onTouchReleased, onTouchStationary, onZoomFinished, onZoom, onZoomStarted, opacity, parent, pickOnBounds, pressed, rotate, rotationAxis, scaleX, scaleY, scaleZ, scene, style, translateX, translateY, translateZ, viewOrder, visible -
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA filter is a predicate that will be used for filtering the elements of an observable list.static classA filter group consists of a group of filters and has a name. -
Field Summary
Fields inherited from class javafx.scene.layout.Region
USE_COMPUTED_SIZE, USE_PREF_SIZEFields inherited from class javafx.scene.Node
BASELINE_OFFSET_SAME_AS_HEIGHT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected javafx.scene.control.Skin<?>final javafx.beans.property.ObjectProperty<javafx.scene.Node>An extra node that can be added to the header of the filter view.final javafx.beans.property.ReadOnlyListProperty<T>final javafx.beans.property.ListProperty<FilterView.FilterGroup<T>>javafx.beans.property.ListProperty<FilterView.Filter<T>>final javafx.beans.property.StringPropertyStores the filter text entered by the user inside the filter text field.Gets the value of theadditionalFilterPredicateproperty.final javafx.scene.NodeGets the value of theextrasproperty.final javafx.collections.ObservableList<T>Gets the value of thefilteredItemsproperty.final javafx.collections.ObservableList<FilterView.FilterGroup<T>>Gets the value of thefilterGroupsproperty.Gets the value of thefilterPredicateproperty.javafx.collections.ObservableList<FilterView.Filter<T>>Gets the value of thefiltersproperty.final StringGets the value of thefilterTextproperty.final javafx.collections.ObservableList<T>getItems()Gets the value of theitemsproperty.final StringGets the value of thesubtitleproperty.javafx.scene.control.LabelGets the value of thesubtitleLabelproperty.Gets the value of thetextFilterProviderproperty.final StringgetTitle()Gets the value of thetitleproperty.final javafx.scene.control.LabelGets the value of thetitleLabelproperty.final StringGets the value of thetitlePostfixproperty.final javafx.scene.control.LabelGets the value of thetitlePostfixLabelproperty.final booleanGets the value of theshowHeaderproperty.final javafx.beans.property.ListProperty<T>The list of items that will be managed by the view.final voidsetAdditionalFilterPredicate(Predicate<T> additionalFilterPredicate) Sets the value of theadditionalFilterPredicateproperty.final voidsetExtras(javafx.scene.Node extras) Sets the value of theextrasproperty.final voidsetFilterGroups(javafx.collections.ObservableList<FilterView.FilterGroup<T>> filterGroups) Sets the value of thefilterGroupsproperty.voidsetFilters(javafx.collections.ObservableList<FilterView.Filter<T>> filters) Sets the value of thefiltersproperty.final voidsetFilterText(String filterText) Sets the value of thefilterTextproperty.final voidSets the value of theitemsproperty.final voidsetShowHeader(boolean showHeader) Sets the value of theshowHeaderproperty.final voidsetSubtitle(String subtitle) Sets the value of thesubtitleproperty.voidsetSubtitleLabel(javafx.scene.control.Label subtitleLabel) Sets the value of thesubtitleLabelproperty.final voidsetTextFilterProvider(javafx.util.Callback<String, Predicate<T>> textFilterProvider) Sets the value of thetextFilterProviderproperty.final voidSets the value of thetitleproperty.final voidsetTitleLabel(javafx.scene.control.Label titleLabel) Sets the value of thetitleLabelproperty.final voidsetTitlePostfix(String titlePostfix) Sets the value of thetitlePostfixproperty.final voidsetTitlePostfixLabel(javafx.scene.control.Label titlePostfixLabel) Sets the value of thetitlePostfixLabelproperty.final javafx.beans.property.BooleanPropertyA flag to control whether the title, subtitle, and the search field will be shown or not.javafx.beans.property.ObjectProperty<javafx.scene.control.Label>The label instance that will be used for displaying the subtitle of the view.final javafx.beans.property.StringPropertyThe subtitle text for the filter view.Returns a filter predicate for a given text.final javafx.beans.property.ObjectProperty<javafx.scene.control.Label>The label instance that will be used for displaying the title of the view.final javafx.beans.property.ObjectProperty<javafx.scene.control.Label>The label instance that will be used for displaying the title postfix text of the view.final javafx.beans.property.StringPropertyA text that can be added to the title text.final javafx.beans.property.StringPropertyThe title for the filter viewMethods inherited from class javafx.scene.control.Control
computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, executeAccessibleAction, getBaselineOffset, getClassCssMetaData, getContextMenu, getControlCssMetaData, getCssMetaData, getInitialFocusTraversable, getSkin, getTooltip, isResizable, layoutChildren, queryAccessibleAttribute, setContextMenu, setSkin, setTooltip, skinProperty, tooltipPropertyMethods inherited from class javafx.scene.layout.Region
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getWidth, heightProperty, insetsProperty, isCacheShape, isCenterShape, isScaleShape, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, opaqueInsetsProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, scaleShapeProperty, setBackground, setBorder, setCacheShape, setCenterShape, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setOpaqueInsets, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixel, setWidth, shapeProperty, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, snapToPixelProperty, widthPropertyMethods inherited from class javafx.scene.Parent
getChildren, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, requestParentLayout, setNeedsLayout, updateBoundsMethods inherited from class javafx.scene.Node
accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, focusVisibleProperty, focusWithinProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInitialCursor, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, getViewOrder, hasProperties, hoverProperty, idProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isFocusVisible, isFocusWithin, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setViewOrder, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, viewOrderProperty, visiblePropertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface javafx.css.Styleable
getStyleableNode
-
Property Details
-
titleLabel
public final javafx.beans.property.ObjectProperty<javafx.scene.control.Label> titleLabelPropertyThe label instance that will be used for displaying the title of the view. -
titlePostfixLabel
public final javafx.beans.property.ObjectProperty<javafx.scene.control.Label> titlePostfixLabelPropertyThe label instance that will be used for displaying the title postfix text of the view. -
subtitleLabel
public javafx.beans.property.ObjectProperty<javafx.scene.control.Label> subtitleLabelPropertyThe label instance that will be used for displaying the subtitle of the view. -
showHeader
public final javafx.beans.property.BooleanProperty showHeaderPropertyA flag to control whether the title, subtitle, and the search field will be shown or not. -
extras
public final javafx.beans.property.ObjectProperty<javafx.scene.Node> extrasPropertyAn extra node that can be added to the header of the filter view. The node will appear to the right of the (optional) text filter field.- See Also:
-
title
public final javafx.beans.property.StringProperty titlePropertyThe title for the filter view- See Also:
-
titlePostfix
public final javafx.beans.property.StringProperty titlePostfixPropertyA text that can be added to the title text. -
subtitle
public final javafx.beans.property.StringProperty subtitlePropertyThe subtitle text for the filter view. -
items
The list of items that will be managed by the view. -
filteredItems
- See Also:
-
filterText
public final javafx.beans.property.StringProperty filterTextPropertyStores the filter text entered by the user inside the filter text field. -
textFilterProvider
public final javafx.beans.property.ObjectProperty<javafx.util.Callback<String,Predicate<T>>> textFilterProviderPropertyReturns a filter predicate for a given text. This predicate will be added to the list of internally managed predicates. The input field for text will only appear if this predicate has been specified. -
filterGroups
-
filters
-
additionalFilterPredicate
-
filterPredicate
-
-
Constructor Details
-
FilterView
public FilterView()
-
-
Method Details
-
getUserAgentStylesheet
- Overrides:
getUserAgentStylesheetin classjavafx.scene.layout.Region
-
createDefaultSkin
protected javafx.scene.control.Skin<?> createDefaultSkin()- Overrides:
createDefaultSkinin classjavafx.scene.control.Control
-
getTitleLabel
public final javafx.scene.control.Label getTitleLabel()Gets the value of thetitleLabelproperty.- Property description:
- The label instance that will be used for displaying the title of the view.
- Returns:
- the value of the
titleLabelproperty - See Also:
-
titleLabelProperty
public final javafx.beans.property.ObjectProperty<javafx.scene.control.Label> titleLabelProperty()The label instance that will be used for displaying the title of the view.- Returns:
- the
titleLabelproperty - See Also:
-
setTitleLabel
public final void setTitleLabel(javafx.scene.control.Label titleLabel) Sets the value of thetitleLabelproperty.- Property description:
- The label instance that will be used for displaying the title of the view.
- Parameters:
titleLabel- the value for thetitleLabelproperty- See Also:
-
getTitlePostfixLabel
public final javafx.scene.control.Label getTitlePostfixLabel()Gets the value of thetitlePostfixLabelproperty.- Property description:
- The label instance that will be used for displaying the title postfix text of the view.
- Returns:
- the value of the
titlePostfixLabelproperty - See Also:
-
titlePostfixLabelProperty
public final javafx.beans.property.ObjectProperty<javafx.scene.control.Label> titlePostfixLabelProperty()The label instance that will be used for displaying the title postfix text of the view.- Returns:
- the
titlePostfixLabelproperty - See Also:
-
setTitlePostfixLabel
public final void setTitlePostfixLabel(javafx.scene.control.Label titlePostfixLabel) Sets the value of thetitlePostfixLabelproperty.- Property description:
- The label instance that will be used for displaying the title postfix text of the view.
- Parameters:
titlePostfixLabel- the value for thetitlePostfixLabelproperty- See Also:
-
getSubtitleLabel
public javafx.scene.control.Label getSubtitleLabel()Gets the value of thesubtitleLabelproperty.- Property description:
- The label instance that will be used for displaying the subtitle of the view.
- Returns:
- the value of the
subtitleLabelproperty - See Also:
-
subtitleLabelProperty
public javafx.beans.property.ObjectProperty<javafx.scene.control.Label> subtitleLabelProperty()The label instance that will be used for displaying the subtitle of the view.- Returns:
- the
subtitleLabelproperty - See Also:
-
setSubtitleLabel
public void setSubtitleLabel(javafx.scene.control.Label subtitleLabel) Sets the value of thesubtitleLabelproperty.- Property description:
- The label instance that will be used for displaying the subtitle of the view.
- Parameters:
subtitleLabel- the value for thesubtitleLabelproperty- See Also:
-
isShowHeader
public final boolean isShowHeader()Gets the value of theshowHeaderproperty.- Property description:
- A flag to control whether the title, subtitle, and the search field will be shown or not.
- Returns:
- the value of the
showHeaderproperty - See Also:
-
showHeaderProperty
public final javafx.beans.property.BooleanProperty showHeaderProperty()A flag to control whether the title, subtitle, and the search field will be shown or not.- Returns:
- true if the header will be shown (default is "true")
- See Also:
-
setShowHeader
public final void setShowHeader(boolean showHeader) Sets the value of theshowHeaderproperty.- Property description:
- A flag to control whether the title, subtitle, and the search field will be shown or not.
- Parameters:
showHeader- the value for theshowHeaderproperty- See Also:
-
getExtras
public final javafx.scene.Node getExtras()Gets the value of theextrasproperty.- Property description:
- An extra node that can be added to the header of the filter view. The node will appear to the right of the (optional) text filter field.
- Returns:
- the value of the
extrasproperty - See Also:
-
extrasProperty
public final javafx.beans.property.ObjectProperty<javafx.scene.Node> extrasProperty()An extra node that can be added to the header of the filter view. The node will appear to the right of the (optional) text filter field.- Returns:
- the extra node
- See Also:
-
setExtras
public final void setExtras(javafx.scene.Node extras) Sets the value of theextrasproperty.- Property description:
- An extra node that can be added to the header of the filter view. The node will appear to the right of the (optional) text filter field.
- Parameters:
extras- the value for theextrasproperty- See Also:
-
getTitle
Gets the value of thetitleproperty.- Property description:
- The title for the filter view
- Returns:
- the value of the
titleproperty - See Also:
-
titleProperty
public final javafx.beans.property.StringProperty titleProperty()The title for the filter view- Returns:
- the title text
- See Also:
-
setTitle
Sets the value of thetitleproperty.- Property description:
- The title for the filter view
- Parameters:
title- the value for thetitleproperty- See Also:
-
getTitlePostfix
Gets the value of thetitlePostfixproperty.- Property description:
- A text that can be added to the title text.
- Returns:
- the value of the
titlePostfixproperty - See Also:
-
titlePostfixProperty
public final javafx.beans.property.StringProperty titlePostfixProperty()A text that can be added to the title text.- Returns:
- the title postfix text
- See Also:
-
setTitlePostfix
Sets the value of thetitlePostfixproperty.- Property description:
- A text that can be added to the title text.
- Parameters:
titlePostfix- the value for thetitlePostfixproperty- See Also:
-
getSubtitle
Gets the value of thesubtitleproperty.- Property description:
- The subtitle text for the filter view.
- Returns:
- the value of the
subtitleproperty - See Also:
-
subtitleProperty
public final javafx.beans.property.StringProperty subtitleProperty()The subtitle text for the filter view.- Returns:
- the subtitle text
- See Also:
-
setSubtitle
Sets the value of thesubtitleproperty.- Property description:
- The subtitle text for the filter view.
- Parameters:
subtitle- the value for thesubtitleproperty- See Also:
-
getItems
Gets the value of theitemsproperty.- Property description:
- The list of items that will be managed by the view.
- Returns:
- the value of the
itemsproperty - See Also:
-
itemsProperty
The list of items that will be managed by the view.- Returns:
- the model
- See Also:
-
setItems
Sets the value of theitemsproperty.- Property description:
- The list of items that will be managed by the view.
- Parameters:
items- the value for theitemsproperty- See Also:
-
filteredItemsProperty
- Returns:
- the
filteredItemsproperty - See Also:
-
getFilteredItems
Gets the value of thefilteredItemsproperty.- Property description:
- Returns:
- the value of the
filteredItemsproperty - See Also:
-
getFilterText
Gets the value of thefilterTextproperty.- Property description:
- Stores the filter text entered by the user inside the filter text field.
- Returns:
- the value of the
filterTextproperty - See Also:
-
filterTextProperty
public final javafx.beans.property.StringProperty filterTextProperty()Stores the filter text entered by the user inside the filter text field.- Returns:
- the filter text
- See Also:
-
setFilterText
Sets the value of thefilterTextproperty.- Property description:
- Stores the filter text entered by the user inside the filter text field.
- Parameters:
filterText- the value for thefilterTextproperty- See Also:
-
getTextFilterProvider
Gets the value of thetextFilterProviderproperty.- Property description:
- Returns a filter predicate for a given text. This predicate will be added to the list of internally managed predicates. The input field for text will only appear if this predicate has been specified.
- Returns:
- the value of the
textFilterProviderproperty - See Also:
-
textFilterProviderProperty
public final javafx.beans.property.ObjectProperty<javafx.util.Callback<String,Predicate<T>>> textFilterProviderProperty()Returns a filter predicate for a given text. This predicate will be added to the list of internally managed predicates. The input field for text will only appear if this predicate has been specified.- Returns:
- the text filter predicate provider
- See Also:
-
setTextFilterProvider
public final void setTextFilterProvider(javafx.util.Callback<String, Predicate<T>> textFilterProvider) Sets the value of thetextFilterProviderproperty.- Property description:
- Returns a filter predicate for a given text. This predicate will be added to the list of internally managed predicates. The input field for text will only appear if this predicate has been specified.
- Parameters:
textFilterProvider- the value for thetextFilterProviderproperty- See Also:
-
getFilterGroups
Gets the value of thefilterGroupsproperty.- Property description:
- Returns:
- the value of the
filterGroupsproperty - See Also:
-
filterGroupsProperty
- Returns:
- the
filterGroupsproperty - See Also:
-
setFilterGroups
public final void setFilterGroups(javafx.collections.ObservableList<FilterView.FilterGroup<T>> filterGroups) Sets the value of thefilterGroupsproperty.- Property description:
- Parameters:
filterGroups- the value for thefilterGroupsproperty- See Also:
-
getFilters
Gets the value of thefiltersproperty.- Property description:
- Returns:
- the value of the
filtersproperty - See Also:
-
filtersProperty
- Returns:
- the
filtersproperty - See Also:
-
setFilters
Sets the value of thefiltersproperty.- Property description:
- Parameters:
filters- the value for thefiltersproperty- See Also:
-
getAdditionalFilterPredicate
Gets the value of theadditionalFilterPredicateproperty.- Property description:
- Returns:
- the value of the
additionalFilterPredicateproperty - See Also:
-
additionalFilterPredicateProperty
- Returns:
- the
additionalFilterPredicateproperty - See Also:
-
setAdditionalFilterPredicate
Sets the value of theadditionalFilterPredicateproperty.- Property description:
- Parameters:
additionalFilterPredicate- the value for theadditionalFilterPredicateproperty- See Also:
-
getFilterPredicate
Gets the value of thefilterPredicateproperty.- Property description:
- Returns:
- the value of the
filterPredicateproperty - See Also:
-
filterPredicateProperty
- Returns:
- the
filterPredicateproperty - See Also:
-