- 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()TableViewFindSupportgetActiveFindSupport()javafx.scene.control.TableView<?>getActiveTable()booleangetAutoClearSelection()javafx.beans.ObservablegetFindSelectionChange()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 isnullif multiple items are selected.protected javafx.scene.control.TablePositionBase<?>selectNext(boolean pBackwards)voidsetAutoClearSelection(boolean pAutoClearSelection)protected voidsetupSearchResultMessage()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:AbstractTableFindSupportGets 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:
getFindSelectionChangein 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:AbstractTableFindSupportNote that the returned value isnullif multiple items are selected.- Overrides:
selectedPositionPropertyin classAbstractTableFindSupport
-
selectNext
protected javafx.scene.control.TablePositionBase<?> selectNext(boolean pBackwards)
- Specified by:
selectNextin classAbstractTableFindSupport
-
updateSelectedMatchRange
protected javafx.scene.control.TablePositionBase<?> updateSelectedMatchRange(javafx.scene.control.TablePositionBase<?> pPos)
- Overrides:
updateSelectedMatchRangein classAbstractTableFindSupport
-
selectedMatchRangeProperty
public javafx.beans.property.ReadOnlyProperty<javafx.scene.control.IndexRange> selectedMatchRangeProperty()
- Overrides:
selectedMatchRangePropertyin classAbstractTableFindSupport
-
setupSearchResultMessage
protected void setupSearchResultMessage()
- Overrides:
setupSearchResultMessagein classAbstractTableFindSupport
-
-