- java.lang.Object
-
- com.iamsoft.util.ui.javafx.table.AbstractTableFindSupport
-
- com.iamsoft.util.ui.javafx.table.TableFindSupportBase<javafx.scene.control.TableView<?>,javafx.scene.control.TableColumn>
-
- com.iamsoft.util.ui.javafx.table.TableViewFindSupport
-
- com.iamsoft.util.ui.javafx.table.JpaTableViewFindSupport
-
public class JpaTableViewFindSupport extends TableViewFindSupport
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JpaTableViewFindSupport.Builder
class
JpaTableViewFindSupport.JpaFindTask
-
Nested classes/interfaces inherited from class com.iamsoft.util.ui.javafx.table.TableViewFindSupport
TableViewFindSupport.AbstractSearchableCell<I>, TableViewFindSupport.Cell<S,T>, TableViewFindSupport.ComboBoxCell<S,T>, TableViewFindSupport.SearchableCell<I>, TableViewFindSupport.TextFieldCell<S,T>
-
Nested classes/interfaces inherited from class com.iamsoft.util.ui.javafx.table.TableFindSupportBase
TableFindSupportBase.AbstractFindTask<T>, TableFindSupportBase.BatchFindTask, TableFindSupportBase.FindTask, TableFindSupportBase.SearchFunction
-
Nested classes/interfaces inherited from class com.iamsoft.util.ui.javafx.table.AbstractTableFindSupport
AbstractTableFindSupport.FindStrategy, AbstractTableFindSupport.Range, AbstractTableFindSupport.SearchResult
-
-
Field Summary
-
Fields inherited from class com.iamsoft.util.ui.javafx.table.TableFindSupportBase
DUMMY_OBSERVABLE
-
Fields inherited from class com.iamsoft.util.ui.javafx.table.AbstractTableFindSupport
FOUND_CELL_CLASS, FOUND_CELL_STYLE, FOUND_TEXT_CLASS, FOUND_TEXT_STYLE, SEARCH_FIELD_BACKGROUND_STYLE, SEARCH_FIELD_NOT_FOUND_BACKGROUND_STYLE, TABLE_VIEW_CSS, TREE_TABLE_VIEW_CSS
-
-
Constructor Summary
Constructors Constructor Description JpaTableViewFindSupport(FindTextFieldSupport pFindTextFieldSupport, jakarta.persistence.EntityManagerFactory pEntityManagerFactory, Map<javafx.scene.control.TableView,JpaTableInfo> pTableInfoMap, JpaTableViewUtil.Database pDatabase)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TableFindSupportBase.FindTask
createFindTask()
protected List<javafx.beans.Observable>
getAdditionalFindObservables()
static boolean
regexpLike(String pText, String pRegex, String... pParams)
void
setColToStringMapperMap(javafx.scene.control.TableView<?> pTable, Map<javafx.scene.control.TableColumn,Function<?,String>> pColToStringMapperMap)
void
setFetchFunctionSupplier(javafx.scene.control.TableView<?> pTable, Supplier<Function<javafx.scene.control.IndexRange,List<?>>> pFetchFunctionSupplier)
-
Methods inherited from class com.iamsoft.util.ui.javafx.table.TableViewFindSupport
cellHeightProperty, createCellFindSupport, createTablePosition, getCellFactory, getColumns, getFirstCellPos, getItems, getLastCellPos, getSelectedCells, getSelectionModel, nextPosition, positionStream, prevPosition, selectPosition, setCellFactory, updateFixedCellSize
-
Methods inherited from class com.iamsoft.util.ui.javafx.table.TableFindSupportBase
autoSelectProperty, cancelCurrentFindTask, currentTableProperty, currentTableSelectionModelProperty, find, findAndSelect, findFirst, findNext, findNext, findNextOccurrence, findNextOccurrence, findNextOccurrence, fireFindSelectionChange, getAutoSelect, getColToOriginalCellFactory, getCurrentTable, getCurrentTableSelectionModel, getDisplayText, getFindObservable, getFindSelectionChange, getFirstSelectedCell, getItemCount, getSearchFunction, getSelectedCells, handleCellSelectionModeChanges, installDefaultStyles, installDefaultStyles, isInSearchState, isMatchingCell, isMatchingRow, isSearchable, searchFunctionProperty, searchInBackground, selectedPositionProperty, selectNext, selectNext, setAutoSelect, setCurrentTable, setStringConverter, toLowerCase, toRow, updateFindObservables, updateSearchFunction, updateTableSelection, updateTableSelection
-
Methods inherited from class com.iamsoft.util.ui.javafx.table.AbstractTableFindSupport
cellFactoryFilterProperty, cellFactoryProperty, columnFilterProperty, disabledProperty, errorMessageProperty, findStrategyProperty, getCellFactory, getCellFactoryFilter, getColumnFilter, getErrorMessage, getFindStrategy, getFindTextFieldSupport, getFoundCellClass, getFoundCellStyle, getFoundTextClass, getFoundTextStyle, getLineWrap, getMatchCase, getMatchCount, getSearchField, getSearchFieldBackgroundStyle, getSearchProgress, getSearchResult, getSearchResultInfo, getSearchResultMessage, getSelectedMatchRange, getSelectedPosition, hasNoOccurrences, hasSearchInProgress, installStylesheet, isDisabled, lineWrapProperty, matchCaseProperty, matchCountProperty, matchCountWrapper, nextBtnDisable, nextBtnDisableProperty, noOccurrences, noOccurrencesProperty, prevBtnDisable, prevBtnDisableProperty, searchFieldBackgroundStyle, searchFieldBackgroundStyleProperty, searchInProgress, searchInProgressProperty, searchProgress, searchProgressProperty, searchResultInfo, searchResultInfoProperty, searchResultMessage, searchResultMessageProperty, searchResultProperty, selectedMatchRangeProperty, selectedMatchRangeWrapper, selectedPositionWrapper, selectNext, selectPrev, setCellFactory, setCellFactoryFilter, setColumnFilter, setDisabled, setErrorMessage, setFindStrategy, setFoundCellClass, setFoundCellStyle, setFoundTextClass, setFoundTextStyle, setLineWrap, setMatchCase, setSearchResult, setupSearchField, setupSearchFieldBackgroundStyle, setupSearchResultInfo, setupSearchResultMessage, updateSearchProgress, updateSelectedMatchRange
-
-
-
-
Constructor Detail
-
JpaTableViewFindSupport
public JpaTableViewFindSupport(FindTextFieldSupport pFindTextFieldSupport, jakarta.persistence.EntityManagerFactory pEntityManagerFactory, Map<javafx.scene.control.TableView,JpaTableInfo> pTableInfoMap, JpaTableViewUtil.Database pDatabase)
-
-
Method Detail
-
createFindTask
protected TableFindSupportBase.FindTask createFindTask()
- Overrides:
createFindTask
in classTableFindSupportBase<javafx.scene.control.TableView<?>,javafx.scene.control.TableColumn>
-
getAdditionalFindObservables
protected List<javafx.beans.Observable> getAdditionalFindObservables()
- Overrides:
getAdditionalFindObservables
in classTableViewFindSupport
-
setColToStringMapperMap
public void setColToStringMapperMap(javafx.scene.control.TableView<?> pTable, Map<javafx.scene.control.TableColumn,Function<?,String>> pColToStringMapperMap)
-
setFetchFunctionSupplier
public void setFetchFunctionSupplier(javafx.scene.control.TableView<?> pTable, Supplier<Function<javafx.scene.control.IndexRange,List<?>>> pFetchFunctionSupplier)
-
-