com.jidesoft.grid
Class QuickTableFilterField.FieldTableFilter
java.lang.Object
com.jidesoft.filter.AbstractFilter<T>
com.jidesoft.grid.AbstractFilter<T>
com.jidesoft.grid.AbstractTableFilter
com.jidesoft.grid.QuickTableFilterField.FieldTableFilter
- All Implemented Interfaces:
- Filter, ObjectGrouperSupport, TableFilter, Serializable, Cloneable
- Enclosing class:
- QuickTableFilterField
protected class QuickTableFilterField.FieldTableFilter
- extends AbstractTableFilter
This is a filter used by QuickTableFilterField.
- See Also:
- Serialized Form
Methods inherited from class com.jidesoft.filter.AbstractFilter |
addFilterListener, clone, fireFilterChanged, fireFilterContentChanged, fireFilterDisabled, fireFilterEnabled, fireFilterNameChanged, getConditionString, getFilterFactory, getFilterFactoryName, getFilterListeners, getName, getObjectGrouper, getObjectGrouperName, getPreference, isEnabled, isFilterValid, removeFilterListener, setEnabled, setFilterFactory, setFilterFactoryName, setName, setObjectGrouper, setObjectGrouperName, setPreference |
Methods inherited from interface com.jidesoft.filter.Filter |
addFilterListener, clone, getFilterFactory, getFilterFactoryName, getName, getPreference, isEnabled, removeFilterListener, setEnabled, setFilterFactory, setFilterFactoryName, setName, setPreference |
QuickTableFilterField.FieldTableFilter
protected QuickTableFilterField.FieldTableFilter()
getSearchingText
public String getSearchingText()
setSearchingText
public void setSearchingText(String text)
isConfigureChanged
public boolean isConfigureChanged()
- Get the flag indicating if the configure like case sensitive of the QuickFilterField is changed.
This flag will be set to true automatically every time the customer change the settings by UI then switch it
back to false right after
QuickFilterField.applyFilter()
is invoked.
- Returns:
- the flag
setConfigureChanged
public void setConfigureChanged(boolean configureChanged)
- Set the flag indicating if the configure like case sensitive of the QuickFilterField is changed.
- Parameters:
configureChanged
- the flag
isValueFiltered
public boolean isValueFiltered(Object value)
- Description copied from interface:
Filter
- Checks to see if the value should be filtered.
- Parameters:
value
- the value to filter
- Returns:
- true if the value should be filtered. Otherwise false.
stricterThan
public boolean stricterThan(Filter inputFilter)
- Description copied from class:
AbstractFilter
- Checks if this filter is stricter than the input filter.
This is a default method that return false. The reason is that if you forgot to override this method, the filter
will apply to all datum so it is safe for you although the performance will a little bit slower. To improve the
performance of your filter, you can override this method to return true if the input filter is less stricter than
this filter to avoid unnecessary filtering.
- Specified by:
stricterThan
in interface Filter
- Overrides:
stricterThan
in class AbstractFilter
- Parameters:
inputFilter
- the input filter
- Returns:
- true if this filter stricter than the input filter. Otherwise false.
getActualSearchingColumnIndices
public Set<Integer> getActualSearchingColumnIndices()