Package docking.widgets.table
Class TableTextFilter<ROW_OBJECT>
- java.lang.Object
 - 
- docking.widgets.table.TableTextFilter<ROW_OBJECT>
 
 
- 
- All Implemented Interfaces:
 TableFilter<ROW_OBJECT>
public class TableTextFilter<ROW_OBJECT> extends java.lang.Object implements TableFilter<ROW_OBJECT>
 
- 
- 
Constructor Summary
Constructors Constructor Description TableTextFilter(TextFilter textFilter, RowFilterTransformer<ROW_OBJECT> transformer) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanacceptsRow(ROW_OBJECT rowObject)Returns true if this filter matches the given row (data)booleanequals(java.lang.Object obj)inthashCode()booleanisSubFilterOf(TableFilter<?> tableFilter)Returns true if this filter is a more specific version of the given filter.java.lang.StringtoString()- 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface docking.widgets.table.TableFilter
hasColumnFilter, isEmpty 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
TableTextFilter
public TableTextFilter(TextFilter textFilter, RowFilterTransformer<ROW_OBJECT> transformer)
 
 - 
 
- 
Method Detail
- 
isSubFilterOf
public boolean isSubFilterOf(TableFilter<?> tableFilter)
Description copied from interface:TableFilterReturns true if this filter is a more specific version of the given filter.For example, if this filter is a 'starts with' text filter, with the value of 'bobo', then if the given filter is also a 'starts with' filter, with a value of 'bob', then this filter is considered a sub-filter of the given sub-filter.
- Specified by:
 isSubFilterOfin interfaceTableFilter<ROW_OBJECT>- Parameters:
 tableFilter- the filter to check- Returns:
 - true if this filter is a sub-filter of the given filter
 
 
- 
acceptsRow
public boolean acceptsRow(ROW_OBJECT rowObject)
Description copied from interface:TableFilterReturns true if this filter matches the given row (data)- Specified by:
 acceptsRowin interfaceTableFilter<ROW_OBJECT>- Parameters:
 rowObject- the current row object- Returns:
 - true if the element at the given row matches this filter.
 
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classjava.lang.Object
 
- 
equals
public boolean equals(java.lang.Object obj)
- Overrides:
 equalsin classjava.lang.Object
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
 - 
 
 -