- java.lang.Object
-
- com.iamsoft.util.ui.javafx.table.AbstractTableFindSupport
-
- com.iamsoft.util.ui.javafx.table.MultiTableViewFindSupport
-
public class MultiTableViewFindSupport extends AbstractTableFindSupport
-
-
Nested Class Summary
-
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.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 MultiTableViewFindSupport(FindTextFieldSupport pFindTextFieldSupport)
MultiTableViewFindSupport(FindTextFieldSupport pFindTextFieldSupport, javafx.collections.ObservableList<javafx.scene.control.TableView<?>> pTableList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javafx.beans.property.ReadOnlyProperty<javafx.scene.control.TableView<?>>
activeTableProperty()
TableViewFindSupport
getActiveFindSupport()
javafx.scene.control.TableView<?>
getActiveTable()
boolean
getAutoClearSelection()
javafx.beans.Observable
getFindSelectionChange()
Gets an observable which fires events when the table selection changes because of an 'find' event - the previous/next buttons are clicked, selection change due to find string/type change, etc.javafx.collections.ObservableList<javafx.scene.control.TableView<?>>
getTableList()
javafx.beans.property.ReadOnlyProperty<javafx.scene.control.IndexRange>
selectedMatchRangeProperty()
javafx.beans.property.ReadOnlyProperty<javafx.scene.control.TablePositionBase<?>>
selectedPositionProperty()
Note that the returned value isnull
if multiple items are selected.protected javafx.scene.control.TablePositionBase<?>
selectNext(boolean pBackwards)
void
setAutoClearSelection(boolean pAutoClearSelection)
protected void
setupSearchResultMessage()
protected javafx.scene.control.TablePositionBase<?>
updateSelectedMatchRange(javafx.scene.control.TablePositionBase<?> pPos)
-
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, selectedMatchRangeWrapper, selectedPositionWrapper, selectNext, selectPrev, setCellFactory, setCellFactoryFilter, setColumnFilter, setDisabled, setErrorMessage, setFindStrategy, setFoundCellClass, setFoundCellStyle, setFoundTextClass, setFoundTextStyle, setLineWrap, setMatchCase, setSearchResult, setupSearchField, setupSearchFieldBackgroundStyle, setupSearchResultInfo, updateSearchProgress
-
-
-
-
Constructor Detail
-
MultiTableViewFindSupport
public MultiTableViewFindSupport(FindTextFieldSupport pFindTextFieldSupport)
-
MultiTableViewFindSupport
public MultiTableViewFindSupport(FindTextFieldSupport pFindTextFieldSupport, javafx.collections.ObservableList<javafx.scene.control.TableView<?>> pTableList)
-
-
Method Detail
-
getTableList
public javafx.collections.ObservableList<javafx.scene.control.TableView<?>> getTableList()
-
activeTableProperty
public javafx.beans.property.ReadOnlyProperty<javafx.scene.control.TableView<?>> activeTableProperty()
-
getActiveTable
public javafx.scene.control.TableView<?> getActiveTable()
-
getActiveFindSupport
public TableViewFindSupport getActiveFindSupport()
-
getFindSelectionChange
public javafx.beans.Observable getFindSelectionChange()
Description copied from class:AbstractTableFindSupport
Gets an observable which fires events when the table selection changes because of an 'find' event - the previous/next buttons are clicked, selection change due to find string/type change, etc.- Specified by:
getFindSelectionChange
in classAbstractTableFindSupport
- Returns:
- observable
-
getAutoClearSelection
public boolean getAutoClearSelection()
-
setAutoClearSelection
public void setAutoClearSelection(boolean pAutoClearSelection)
-
selectedPositionProperty
public javafx.beans.property.ReadOnlyProperty<javafx.scene.control.TablePositionBase<?>> selectedPositionProperty()
Description copied from class:AbstractTableFindSupport
Note that the returned value isnull
if multiple items are selected.- Overrides:
selectedPositionProperty
in classAbstractTableFindSupport
-
selectNext
protected javafx.scene.control.TablePositionBase<?> selectNext(boolean pBackwards)
- Specified by:
selectNext
in classAbstractTableFindSupport
-
updateSelectedMatchRange
protected javafx.scene.control.TablePositionBase<?> updateSelectedMatchRange(javafx.scene.control.TablePositionBase<?> pPos)
- Overrides:
updateSelectedMatchRange
in classAbstractTableFindSupport
-
selectedMatchRangeProperty
public javafx.beans.property.ReadOnlyProperty<javafx.scene.control.IndexRange> selectedMatchRangeProperty()
- Overrides:
selectedMatchRangeProperty
in classAbstractTableFindSupport
-
setupSearchResultMessage
protected void setupSearchResultMessage()
- Overrides:
setupSearchResultMessage
in classAbstractTableFindSupport
-
-