Class AbstractTableFindSupport

java.lang.Object
com.iamsoft.util.ui.javafx.table.AbstractTableFindSupport
Direct Known Subclasses:
MultiTableViewFindSupport, TableFindSupportBase

public abstract class AbstractTableFindSupport extends Object
  • Property Details

  • Field Details

  • Constructor Details

    • AbstractTableFindSupport

      public AbstractTableFindSupport(FindTextFieldSupport pFindTextFieldSupport)
  • Method Details

    • getFoundCellClass

      public String getFoundCellClass()
    • setFoundCellClass

      public void setFoundCellClass(String pFoundCellClass)
    • getFoundCellStyle

      public String getFoundCellStyle()
    • setFoundCellStyle

      public void setFoundCellStyle(String pFoundCellStyle)
    • getFoundTextStyle

      public String getFoundTextStyle()
    • setFoundTextStyle

      public void setFoundTextStyle(String pFoundTextStyle)
    • getFoundTextClass

      public String getFoundTextClass()
    • setFoundTextClass

      public void setFoundTextClass(String pFoundTextClass)
    • getFindTextFieldSupport

      protected FindTextFieldSupport getFindTextFieldSupport()
    • cellFactoryProperty

      public javafx.beans.property.ObjectProperty<javafx.util.Callback<? extends javafx.scene.control.TableColumnBase<?,?>,? extends javafx.scene.control.IndexedCell<?>>> cellFactoryProperty()
      See Also:
    • getCellFactory

      public javafx.util.Callback<? extends javafx.scene.control.TableColumnBase<?,?>,? extends javafx.scene.control.IndexedCell<?>> getCellFactory()
      Gets the value of the property cellFactory.
      Property description:
    • setCellFactory

      public void setCellFactory(javafx.util.Callback<javafx.scene.control.TableColumnBase<?,?>,? extends javafx.scene.control.IndexedCell<?>> pCellFactory)
      Sets the value of the property cellFactory.
      Property description:
    • cellFactoryFilterProperty

      public javafx.beans.property.ObjectProperty<Predicate<javafx.scene.control.TableColumnBase<?,?>>> cellFactoryFilterProperty()
      See Also:
    • getCellFactoryFilter

      public Predicate<javafx.scene.control.TableColumnBase<?,?>> getCellFactoryFilter()
      Gets the value of the property cellFactoryFilter.
      Property description:
    • setCellFactoryFilter

      public void setCellFactoryFilter(Predicate<javafx.scene.control.TableColumnBase<?,?>> pCellFactoryFilter)
      Sets the value of the property cellFactoryFilter.
      Property description:
    • columnFilterProperty

      public javafx.beans.property.ObjectProperty<Predicate<javafx.scene.control.TableColumnBase<?,?>>> columnFilterProperty()
      See Also:
    • getColumnFilter

      public Predicate<javafx.scene.control.TableColumnBase<?,?>> getColumnFilter()
      Gets the value of the property columnFilter.
      Property description:
    • setColumnFilter

      public void setColumnFilter(Predicate<javafx.scene.control.TableColumnBase<?,?>> pColumnFilter)
      Sets the value of the property columnFilter.
      Property description:
    • findStrategyProperty

      public javafx.beans.property.ObjectProperty<AbstractTableFindSupport.FindStrategy> findStrategyProperty()
      See Also:
    • getFindStrategy

      public AbstractTableFindSupport.FindStrategy getFindStrategy()
      Gets the value of the property findStrategy.
      Property description:
    • setFindStrategy

      public void setFindStrategy(AbstractTableFindSupport.FindStrategy pFindStrategy)
      Sets the value of the property findStrategy.
      Property description:
    • lineWrapProperty

      public javafx.beans.property.BooleanProperty lineWrapProperty()
      See Also:
    • getLineWrap

      public boolean getLineWrap()
      Gets the value of the property lineWrap.
      Property description:
    • setLineWrap

      public void setLineWrap(boolean pLineWrap)
      Sets the value of the property lineWrap.
      Property description:
    • matchCaseProperty

      public javafx.beans.property.BooleanProperty matchCaseProperty()
      See Also:
    • getMatchCase

      public boolean getMatchCase()
      Gets the value of the property matchCase.
      Property description:
    • setMatchCase

      public void setMatchCase(boolean pMatchCase)
      Sets the value of the property matchCase.
      Property description:
    • errorMessageProperty

      public javafx.beans.property.StringProperty errorMessageProperty()
      See Also:
    • getErrorMessage

      public String getErrorMessage()
      Gets the value of the property errorMessage.
      Property description:
    • setErrorMessage

      public void setErrorMessage(String pErrorMessage)
      Sets the value of the property errorMessage.
      Property description:
    • searchResultInfo

      protected javafx.beans.property.ObjectProperty<String> searchResultInfo()
    • searchResultInfoProperty

      public javafx.beans.property.ReadOnlyProperty<String> searchResultInfoProperty()
      See Also:
    • getSearchResultInfo

      public String getSearchResultInfo()
      Gets the value of the property searchResultInfo.
      Property description:
    • searchResultMessage

      protected javafx.beans.property.ObjectProperty<String> searchResultMessage()
    • searchResultMessageProperty

      public javafx.beans.property.ReadOnlyProperty<String> searchResultMessageProperty()
      See Also:
    • getSearchResultMessage

      public String getSearchResultMessage()
      Gets the value of the property searchResultMessage.
      Property description:
    • searchFieldBackgroundStyle

      protected javafx.beans.property.ObjectProperty<String> searchFieldBackgroundStyle()
    • searchFieldBackgroundStyleProperty

      public javafx.beans.property.ReadOnlyProperty<String> searchFieldBackgroundStyleProperty()
      See Also:
    • getSearchFieldBackgroundStyle

      public String getSearchFieldBackgroundStyle()
      Gets the value of the property searchFieldBackgroundStyle.
      Property description:
    • noOccurrences

      protected javafx.beans.property.ObjectProperty<Boolean> noOccurrences()
    • noOccurrencesProperty

      public javafx.beans.property.ReadOnlyProperty<Boolean> noOccurrencesProperty()
    • hasNoOccurrences

      public boolean hasNoOccurrences()
    • prevBtnDisable

      protected javafx.beans.property.ObjectProperty<Boolean> prevBtnDisable()
    • prevBtnDisableProperty

      public javafx.beans.property.ReadOnlyProperty<Boolean> prevBtnDisableProperty()
    • nextBtnDisable

      protected javafx.beans.property.ObjectProperty<Boolean> nextBtnDisable()
    • nextBtnDisableProperty

      public javafx.beans.property.ReadOnlyProperty<Boolean> nextBtnDisableProperty()
    • disabledProperty

      public javafx.beans.property.BooleanProperty disabledProperty()
      See Also:
    • isDisabled

      public boolean isDisabled()
      Gets the value of the property disabled.
      Property description:
    • setDisabled

      public void setDisabled(boolean pDisabled)
      Sets the value of the property disabled.
      Property description:
    • searchInProgress

      protected javafx.beans.property.ObjectProperty<Boolean> searchInProgress()
    • searchInProgressProperty

      public javafx.beans.property.ReadOnlyProperty<Boolean> searchInProgressProperty()
    • hasSearchInProgress

      public boolean hasSearchInProgress()
    • searchProgress

      protected javafx.beans.property.ObjectProperty<Double> searchProgress()
    • searchProgressProperty

      public javafx.beans.property.ReadOnlyProperty<Double> searchProgressProperty()
      See Also:
    • getSearchProgress

      public Double getSearchProgress()
      Gets the value of the property searchProgress.
      Property description:
    • searchResultProperty

      protected javafx.beans.property.ObjectProperty<AbstractTableFindSupport.SearchResult> searchResultProperty()
      See Also:
    • getSearchResult

      protected AbstractTableFindSupport.SearchResult getSearchResult()
      Gets the value of the property searchResult.
      Property description:
    • setSearchResult

      protected void setSearchResult(AbstractTableFindSupport.SearchResult pSearchResult)
      Sets the value of the property searchResult.
      Property description:
    • matchCountWrapper

      protected javafx.beans.property.ReadOnlyObjectWrapper<Integer> matchCountWrapper()
    • matchCountProperty

      public javafx.beans.property.ReadOnlyProperty<Integer> matchCountProperty()
      See Also:
    • getMatchCount

      public int getMatchCount()
      Gets the value of the property matchCount.
      Property description:
    • selectedMatchRangeWrapper

      protected javafx.beans.property.ReadOnlyObjectWrapper<javafx.scene.control.IndexRange> selectedMatchRangeWrapper()
    • selectedPositionWrapper

      protected javafx.beans.property.ReadOnlyObjectWrapper<javafx.scene.control.TablePositionBase<?>> selectedPositionWrapper()
    • selectedMatchRangeProperty

      public javafx.beans.property.ReadOnlyProperty<javafx.scene.control.IndexRange> selectedMatchRangeProperty()
      See Also:
    • getSelectedMatchRange

      public javafx.scene.control.IndexRange getSelectedMatchRange()
      Gets the value of the property selectedMatchRange.
      Property description:
    • selectedPositionProperty

      public javafx.beans.property.ReadOnlyProperty<javafx.scene.control.TablePositionBase<?>> selectedPositionProperty()
      Note that the returned value is null if multiple items are selected.
      See Also:
    • getSelectedPosition

      public javafx.scene.control.TablePositionBase<?> getSelectedPosition()
      Gets the value of the property selectedPosition.
      Property description:
      Note that the returned value is null if multiple items are selected.
    • selectNext

      protected abstract javafx.scene.control.TablePositionBase<?> selectNext(boolean pBackwards)
    • selectNext

      public javafx.scene.control.TablePositionBase<?> selectNext()
    • selectPrev

      public javafx.scene.control.TablePositionBase<?> selectPrev()
    • updateSelectedMatchRange

      protected javafx.scene.control.TablePositionBase<?> updateSelectedMatchRange(javafx.scene.control.TablePositionBase<?> pPos)
    • getSearchField

      public javafx.scene.control.TextField getSearchField()
    • setupSearchFieldBackgroundStyle

      protected void setupSearchFieldBackgroundStyle()
    • setupSearchResultMessage

      protected void setupSearchResultMessage()
    • setupSearchResultInfo

      protected void setupSearchResultInfo()
    • setupSearchField

      protected void setupSearchField()
    • getFindSelectionChange

      public abstract 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.
      Returns:
      observable
    • updateSearchProgress

      protected void updateSearchProgress(double pProgress)
      Use this method to set determinate progress only for a short duration. This is useful for semi-determinate progress indicators, where progress value might be unknown in certain cases.
    • installStylesheet

      public static void installStylesheet(javafx.beans.value.ObservableValue<? extends javafx.scene.control.Control> pCurrentTableProperty, String pStylesheet)
      Ensures that the specified stylesheet is added to the stylesheets of the specified current table.
      Parameters:
      pCurrentTableProperty - prop
      pStylesheet - String URL linking to the stylesheet to install