Package docking.widgets.filter
Class InvertedTextFilter
java.lang.Object
docking.widgets.filter.InvertedTextFilter
- All Implemented Interfaces:
TextFilter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
boolean
isSubFilterOf
(TextFilter textFilter) Returns true if this filter is a more specific filter of the given filter.boolean
-
Constructor Details
-
InvertedTextFilter
-
-
Method Details
-
isSubFilterOf
Description copied from interface:TextFilter
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'.- Specified by:
isSubFilterOf
in interfaceTextFilter
- Parameters:
textFilter
- the potential parent filter- Returns:
- true if this filter is a more specific filter of the given filter.
-
matches
- Specified by:
matches
in interfaceTextFilter
-
getFilterText
- Specified by:
getFilterText
in interfaceTextFilter
-
hashCode
public int hashCode() -
equals
-