java.lang.Object
com.iamsoft.util.ui.javafx.table.AbstractTableFindSupport
com.iamsoft.util.ui.javafx.table.MultiTableViewFindSupport
-
Property Summary
PropertiesTypePropertyDescriptionjavafx.beans.property.ReadOnlyProperty<javafx.scene.control.TableView<?>>
javafx.beans.property.ReadOnlyProperty<javafx.scene.control.IndexRange>
javafx.beans.property.ReadOnlyProperty<javafx.scene.control.TablePositionBase<?>>
Note that the returned value isnull
if multiple items are selected.Properties inherited from class com.iamsoft.util.ui.javafx.table.AbstractTableFindSupport
cellFactoryFilter, cellFactory, columnFilter, disabled, errorMessage, findStrategy, lineWrap, matchCase, matchCount, nextBtnDisable, noOccurrences, prevBtnDisable, searchFieldBackgroundStyle, searchInProgress, searchProgress, searchResultInfo, searchResultMessage, searchResult
-
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
ConstructorsConstructorDescriptionMultiTableViewFindSupport
(FindTextFieldSupport pFindTextFieldSupport) MultiTableViewFindSupport
(FindTextFieldSupport pFindTextFieldSupport, javafx.collections.ObservableList<javafx.scene.control.TableView<?>> pTableList) -
Method Summary
Modifier and TypeMethodDescriptionjavafx.beans.property.ReadOnlyProperty<javafx.scene.control.TableView<?>>
javafx.scene.control.TableView<?>
Gets the value of the property activeTable.boolean
javafx.beans.Observable
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<?>>
javafx.beans.property.ReadOnlyProperty<javafx.scene.control.IndexRange>
javafx.beans.property.ReadOnlyProperty<javafx.scene.control.TablePositionBase<?>>
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
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
-
Property Details
-
activeTable
public javafx.beans.property.ReadOnlyProperty<javafx.scene.control.TableView<?>> activeTableProperty- See Also:
-
selectedPosition
public javafx.beans.property.ReadOnlyProperty<javafx.scene.control.TablePositionBase<?>> selectedPositionProperty- Overrides:
selectedPositionProperty
in classAbstractTableFindSupport
- See Also:
-
selectedMatchRange
public javafx.beans.property.ReadOnlyProperty<javafx.scene.control.IndexRange> selectedMatchRangeProperty- Overrides:
selectedMatchRangeProperty
in classAbstractTableFindSupport
- See Also:
-
-
Constructor Details
-
MultiTableViewFindSupport
-
MultiTableViewFindSupport
public MultiTableViewFindSupport(FindTextFieldSupport pFindTextFieldSupport, javafx.collections.ObservableList<javafx.scene.control.TableView<?>> pTableList)
-
-
Method Details
-
getTableList
public javafx.collections.ObservableList<javafx.scene.control.TableView<?>> getTableList() -
activeTableProperty
public javafx.beans.property.ReadOnlyProperty<javafx.scene.control.TableView<?>> activeTableProperty()- See Also:
-
getActiveTable
public javafx.scene.control.TableView<?> getActiveTable()Gets the value of the property activeTable.- Property description:
-
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
- See Also:
-
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
- See Also:
-
setupSearchResultMessage
protected void setupSearchResultMessage()- Overrides:
setupSearchResultMessage
in classAbstractTableFindSupport
-