Package docking.widgets.filter
Class MatchesPatternTextFilter
java.lang.Object
docking.widgets.filter.AbstractPatternTextFilter
docking.widgets.filter.MatchesPatternTextFilter
- All Implemented Interfaces:
TextFilter
- Direct Known Subclasses:
ContainsTextFilter,MatchesExactlyTextFilter,StartsWithTextFilter
A text filter that uses a pattern and performs a 'matches' using that pattern.
-
Field Summary
FieldsFields inherited from class docking.widgets.filter.AbstractPatternTextFilter
filterPattern, filterText -
Constructor Summary
ConstructorsConstructorDescriptionMatchesPatternTextFilter(String filterText, boolean caseSensitive, boolean allowGlobbing) -
Method Summary
Methods inherited from class docking.widgets.filter.AbstractPatternTextFilter
createPattern, getFilterText, matches, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface docking.widgets.filter.TextFilter
isSubFilterOf
-
Field Details
-
caseSensitive
protected boolean caseSensitive -
allowGlobbing
protected boolean allowGlobbing
-
-
Constructor Details
-
MatchesPatternTextFilter
-
-
Method Details
-
matches
Description copied from class:AbstractPatternTextFilterSubclasses implement this method for their usage of the given pattern (find vs. matches)- Specified by:
matchesin classAbstractPatternTextFilter- Parameters:
text- the text to check against the patternpattern- the pattern used to match the text- Returns:
- true if there is a match
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractPatternTextFilter
-
equals
- Overrides:
equalsin classAbstractPatternTextFilter
-