Class GridSearchStrategy
java.lang.Object
org.eclipse.nebula.widgets.nattable.search.strategy.AbstractSearchStrategy
org.eclipse.nebula.widgets.nattable.search.strategy.GridSearchStrategy
- All Implemented Interfaces:
ISearchStrategy
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.eclipse.nebula.widgets.nattable.search.strategy.AbstractSearchStrategy
caseSensitive, columnFirst, comparator, includeCollapsed, incremental, regex, searchDirection, wholeWord, wrapSearchFields inherited from interface org.eclipse.nebula.widgets.nattable.search.strategy.ISearchStrategy
SKIP_SEARCH_RESULT_LABEL -
Constructor Summary
ConstructorsConstructorDescriptionGridSearchStrategy(IConfigRegistry configRegistry, boolean wrapSearch, boolean columnFirst) GridSearchStrategy(IConfigRegistry configRegistry, boolean wrapSearch, String searchDirection, boolean columnFirst) Deprecated.GridSearchStrategy(IConfigRegistry configRegistry, boolean wrapSearch, SearchDirection searchDirection, boolean columnFirst) -
Method Summary
Modifier and TypeMethodDescriptionexecuteSearch(Object valueToMatch) Search for the given value and return the coordinates of the matching cell.Methods inherited from class org.eclipse.nebula.widgets.nattable.search.strategy.AbstractSearchStrategy
getComparator, getContextLayer, getSearchDirection, isCaseSensitive, isColumnFirst, isIncludeCollapsed, isIncremental, isRegex, isWholeWord, isWrapSearch, processResultInternally, setCaseSensitive, setColumnFirst, setComparator, setContextLayer, setIncludeCollapsed, setIncremental, setRegex, setSearchDirection, setSearchDirection, setWholeWord, setWrapSearch
-
Constructor Details
-
GridSearchStrategy
-
GridSearchStrategy
@Deprecated public GridSearchStrategy(IConfigRegistry configRegistry, boolean wrapSearch, String searchDirection, boolean columnFirst) Deprecated.Use constructor withSearchDirectionparameter- Parameters:
configRegistry- TheConfigRegistry.wrapSearch- Flag to configure if the search should wrap.searchDirection- TheSearchDirection.columnFirst- Flag to configure if the search should be by column.
-
GridSearchStrategy
public GridSearchStrategy(IConfigRegistry configRegistry, boolean wrapSearch, SearchDirection searchDirection, boolean columnFirst) - Parameters:
configRegistry- TheConfigRegistry.wrapSearch- Flag to configure if the search should wrap.searchDirection- TheSearchDirection.columnFirst- Flag to configure if the search should be by column.- Since:
- 2.0
-
-
Method Details
-
executeSearch
Description copied from interface:ISearchStrategySearch for the given value and return the coordinates of the matching cell.- Parameters:
valueToMatch- The value to search for.- Returns:
- The coordinates of the cell that contains the given value.
-
SearchDirectionparameter