Class AbstractSearchStrategy

java.lang.Object
org.eclipse.nebula.widgets.nattable.search.strategy.AbstractSearchStrategy
All Implemented Interfaces:
ISearchStrategy
Direct Known Subclasses:
ColumnSearchStrategy, GridSearchStrategy, RowSearchStrategy, SelectionSearchStrategy

public abstract class AbstractSearchStrategy extends Object implements ISearchStrategy
  • Field Details

    • searchDirection

      protected SearchDirection searchDirection
    • caseSensitive

      protected boolean caseSensitive
    • wrapSearch

      protected boolean wrapSearch
    • wholeWord

      protected boolean wholeWord
    • incremental

      protected boolean incremental
    • regex

      protected boolean regex
    • includeCollapsed

      protected boolean includeCollapsed
    • columnFirst

      protected boolean columnFirst
    • comparator

      protected Comparator<?> comparator
  • Constructor Details

    • AbstractSearchStrategy

      public AbstractSearchStrategy()
  • Method Details

    • setContextLayer

      public void setContextLayer(ILayer contextLayer)
    • getContextLayer

      public ILayer getContextLayer()
    • setSearchDirection

      public void setSearchDirection(String searchDirection)
    • setSearchDirection

      public void setSearchDirection(SearchDirection searchDirection)
      Parameters:
      searchDirection - The SearchDirection to use.
      Since:
      2.0
    • getSearchDirection

      public SearchDirection getSearchDirection()
      Returns:
      The used SearchDirection
      Since:
      2.0
    • setWrapSearch

      public void setWrapSearch(boolean wrapSearch)
    • isWrapSearch

      public boolean isWrapSearch()
    • setCaseSensitive

      public void setCaseSensitive(boolean caseSensitive)
    • isCaseSensitive

      public boolean isCaseSensitive()
    • setWholeWord

      public void setWholeWord(boolean wholeWord)
    • isWholeWord

      public boolean isWholeWord()
    • setIncremental

      public void setIncremental(boolean incremental)
    • isIncremental

      public boolean isIncremental()
    • setRegex

      public void setRegex(boolean regex)
    • isRegex

      public boolean isRegex()
    • setIncludeCollapsed

      public void setIncludeCollapsed(boolean includeCollapsed)
    • isIncludeCollapsed

      public boolean isIncludeCollapsed()
    • setColumnFirst

      public void setColumnFirst(boolean columnFirst)
    • isColumnFirst

      public boolean isColumnFirst()
    • getComparator

      public Comparator<?> getComparator()
    • setComparator

      public void setComparator(Comparator<?> comparator)
    • processResultInternally

      public boolean processResultInternally()
      Returns:
      false if the result should be processed by the caller, true if the strategy deals with the result itself.
      Since:
      1.5