Package docking.widgets.filter
Class AbstractPatternTextFilter
java.lang.Object
docking.widgets.filter.AbstractPatternTextFilter
- All Implemented Interfaces:
 TextFilter
- Direct Known Subclasses:
 FindsPatternTextFilter,MatchesPatternTextFilter
- 
Field Details
- 
filterText
 - 
filterPattern
 
 - 
 - 
Constructor Details
- 
AbstractPatternTextFilter
 
 - 
 - 
Method Details
- 
createPattern
Subclasses must create thePatternthat will be used by this class when filtering.- Returns:
 - the pattern
 
 - 
matches
Subclasses implement this method for their usage of the given pattern (find vs. matches)- Parameters:
 text- the text to check against the patternpattern- the pattern used to match the text- Returns:
 - true if there is a match
 
 - 
getFilterText
- Specified by:
 getFilterTextin interfaceTextFilter
 - 
matches
- Specified by:
 matchesin interfaceTextFilter
 - 
hashCode
public int hashCode() - 
equals
 - 
toString
 
 -