Package docking.widgets.filter
Interface TextFilter
-
- All Known Implementing Classes:
AbstractPatternTextFilter,ContainsTextFilter,FindsPatternTextFilter,InvertedTextFilter,MatchesExactlyTextFilter,MatchesPatternTextFilter,StartsWithTextFilter
public interface TextFilter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetFilterText()booleanisSubFilterOf(TextFilter filter)Returns true if this filter is a more specific filter of the given filter.booleanmatches(java.lang.String text)
-
-
-
Method Detail
-
matches
boolean matches(java.lang.String text)
-
getFilterText
java.lang.String getFilterText()
-
isSubFilterOf
boolean isSubFilterOf(TextFilter filter)
Returns true if this filter is a more specific filter of the given filter. This is specific to the implementation. Some filters cannot be sub-filters of another filter, such as the 'matches exactly' filter. Contrastingly, a 'starts with' filter can have a sub-filter; for example, for a 'starts with' filter, 'cat' is a sub-filter of 'ca', as 'cat' starts with 'ca'.- Parameters:
filter- the potential parent filter- Returns:
- true if this filter is a more specific filter of the given filter.
-
-