Package docking.widgets.filter
Class InvertedTextFilter
- java.lang.Object
 - 
- docking.widgets.filter.InvertedTextFilter
 
 
- 
- All Implemented Interfaces:
 TextFilter
public class InvertedTextFilter extends java.lang.Object implements TextFilter
 
- 
- 
Constructor Summary
Constructors Constructor Description InvertedTextFilter(TextFilter filter) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetFilterText()inthashCode()booleanisSubFilterOf(TextFilter textFilter)Returns true if this filter is a more specific filter of the given filter.booleanmatches(java.lang.String text) 
 - 
 
- 
- 
Constructor Detail
- 
InvertedTextFilter
public InvertedTextFilter(TextFilter filter)
 
 - 
 
- 
Method Detail
- 
isSubFilterOf
public boolean isSubFilterOf(TextFilter textFilter)
Description copied from interface:TextFilterReturns 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:
 isSubFilterOfin interfaceTextFilter- Parameters:
 textFilter- the potential parent filter- Returns:
 - true if this filter is a more specific filter of the given filter.
 
 
- 
matches
public boolean matches(java.lang.String text)
- Specified by:
 matchesin interfaceTextFilter
 
- 
getFilterText
public java.lang.String getFilterText()
- Specified by:
 getFilterTextin interfaceTextFilter
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classjava.lang.Object
 
- 
equals
public boolean equals(java.lang.Object obj)
- Overrides:
 equalsin classjava.lang.Object
 
 - 
 
 -