Module org.controlsfx.controls
Class PopupStringFilter<S,T>
- java.lang.Object
-
- javafx.stage.Window
-
- javafx.stage.PopupWindow
-
- javafx.scene.control.PopupControl
-
- org.controlsfx.control.tableview2.filter.popupfilter.PopupFilter<S,T>
-
- org.controlsfx.control.tableview2.filter.popupfilter.PopupStringFilter<S,T>
-
- Type Parameters:
S
- Type of the objects contained within theFilteredTableView
items list.T
- Type of the content to be filtered, which is similar to the type of cells contained in theFilteredTableColumn
. Should be a String or an Object, in case aStringConverter
is provided.
- All Implemented Interfaces:
Styleable
,EventTarget
,Skinnable
public class PopupStringFilter<S,T> extends PopupFilter<S,T>
PopupFilter to be used onFilteredTableView
containing cells of String type.
-
-
Property Summary
Properties Type Property Description BooleanProperty
caseSensitive
ObjectProperty<StringConverter<T>>
converter
Converts the user-typed input (when the PopupStringFilter to an object of type T.-
Properties inherited from class org.controlsfx.control.tableview2.filter.popupfilter.PopupFilter
text
-
Properties inherited from class javafx.scene.control.PopupControl
id, maxHeight, maxWidth, minHeight, minWidth, prefHeight, prefWidth, skin, style
-
Properties inherited from class javafx.stage.PopupWindow
anchorLocation, anchorX, anchorY, autoFix, autoHide, consumeAutoHidingEvents, hideOnEscape, onAutoHide, ownerNode, ownerWindow
-
Properties inherited from class javafx.stage.Window
eventDispatcher, focused, forceIntegerRenderScale, height, onCloseRequest, onHidden, onHiding, onShowing, onShown, opacity, outputScaleX, outputScaleY, renderScaleX, renderScaleY, scene, showing, width, x, y
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javafx.scene.control.PopupControl
PopupControl.CSSBridge
-
Nested classes/interfaces inherited from class javafx.stage.PopupWindow
PopupWindow.AnchorLocation
-
-
Field Summary
-
Fields inherited from class org.controlsfx.control.tableview2.filter.popupfilter.PopupFilter
text
-
Fields inherited from class javafx.scene.control.PopupControl
bridge, USE_COMPUTED_SIZE, USE_PREF_SIZE
-
-
Constructor Summary
Constructors Constructor Description PopupStringFilter(FilteredTableColumn<S,T> tableColumn)
Creates a new instance of PopupStringFilter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanProperty
caseSensitiveProperty()
ObjectProperty<StringConverter<T>>
converterProperty()
Converts the user-typed input (when the PopupStringFilter to an object of type T.StringConverter<T>
getConverter()
Gets the value of the property converter.List<String>
getOperations()
Returns a list of operations which can be performed on this PopupFilter.Parser<T>
getParser()
Returns a TextParser which is used to parse the text in the TextField and filter the data.void
setConverter(StringConverter<T> value)
Sets the value of the property converter.-
Methods inherited from class org.controlsfx.control.tableview2.filter.popupfilter.PopupFilter
createDefaultSkin, getTableColumn, getText, setText, showPopup, textProperty
-
Methods inherited from class javafx.scene.control.PopupControl
getClassCssMetaData, getCssMetaData, getId, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getPrefHeight, getPrefWidth, getPseudoClassStates, getSkin, getStyle, getStyleableNode, getStyleableParent, getStyleClass, getTypeSelector, idProperty, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, pseudoClassStateChanged, setId, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setPrefHeight, setPrefSize, setPrefWidth, setSkin, setStyle, skinProperty, styleProperty
-
Methods inherited from class javafx.stage.PopupWindow
anchorLocationProperty, anchorXProperty, anchorYProperty, autoFixProperty, autoHideProperty, consumeAutoHidingEventsProperty, getAnchorLocation, getAnchorX, getAnchorY, getConsumeAutoHidingEvents, getOnAutoHide, getOwnerNode, getOwnerWindow, hide, hideOnEscapeProperty, isAutoFix, isAutoHide, isHideOnEscape, onAutoHideProperty, ownerNodeProperty, ownerWindowProperty, setAnchorLocation, setAnchorX, setAnchorY, setAutoFix, setAutoHide, setConsumeAutoHidingEvents, setHideOnEscape, setOnAutoHide, setScene, show, show, show
-
Methods inherited from class javafx.stage.Window
addEventFilter, addEventHandler, buildEventDispatchChain, centerOnScreen, eventDispatcherProperty, fireEvent, focusedProperty, forceIntegerRenderScaleProperty, getEventDispatcher, getHeight, getOnCloseRequest, getOnHidden, getOnHiding, getOnShowing, getOnShown, getOpacity, getOutputScaleX, getOutputScaleY, getProperties, getRenderScaleX, getRenderScaleY, getScene, getUserData, getWidth, getWindows, getX, getY, hasProperties, heightProperty, isFocused, isForceIntegerRenderScale, isShowing, onCloseRequestProperty, onHiddenProperty, onHidingProperty, onShowingProperty, onShownProperty, opacityProperty, outputScaleXProperty, outputScaleYProperty, removeEventFilter, removeEventHandler, renderScaleXProperty, renderScaleYProperty, requestFocus, sceneProperty, setEventDispatcher, setEventHandler, setForceIntegerRenderScale, setHeight, setOnCloseRequest, setOnHidden, setOnHiding, setOnShowing, setOnShown, setOpacity, setRenderScaleX, setRenderScaleY, setUserData, setWidth, setX, setY, show, showingProperty, sizeToScene, widthProperty, xProperty, yProperty
-
-
-
-
Property Detail
-
caseSensitive
public final BooleanProperty caseSensitiveProperty
-
converter
public final ObjectProperty<StringConverter<T>> converterProperty
Converts the user-typed input (when the PopupStringFilter to an object of type T.- See Also:
getConverter()
,setConverter(StringConverter)
-
-
Constructor Detail
-
PopupStringFilter
public PopupStringFilter(FilteredTableColumn<S,T> tableColumn)
Creates a new instance of PopupStringFilter.- Parameters:
tableColumn
- TableColumn associated with PopupFilter
-
-
Method Detail
-
getOperations
public List<String> getOperations()
Returns a list of operations which can be performed on this PopupFilter.- Specified by:
getOperations
in classPopupFilter<S,T>
- Returns:
- A list of operations.
-
getParser
public Parser<T> getParser()
Returns a TextParser which is used to parse the text in the TextField and filter the data.- Specified by:
getParser
in classPopupFilter<S,T>
- Returns:
- A
Parser
.
-
caseSensitiveProperty
public final BooleanProperty caseSensitiveProperty()
-
converterProperty
public final ObjectProperty<StringConverter<T>> converterProperty()
Converts the user-typed input (when the PopupStringFilter to an object of type T.- See Also:
getConverter()
,setConverter(StringConverter)
-
setConverter
public final void setConverter(StringConverter<T> value)
Sets the value of the property converter.- Property description:
- Converts the user-typed input (when the PopupStringFilter to an object of type T.
-
getConverter
public final StringConverter<T> getConverter()
Gets the value of the property converter.- Property description:
- Converts the user-typed input (when the PopupStringFilter to an object of type T.
-
-