com.jidesoft.grid
Class IFilterableTableModel.FilterItem
java.lang.Object
com.jidesoft.filter.AbstractFilter
com.jidesoft.grid.IFilterableTableModel.FilterItem
- All Implemented Interfaces:
- Filter, ObjectGrouperSupport, Serializable, Cloneable
- Enclosing interface:
- IFilterableTableModel
public static class IFilterableTableModel.FilterItem
- extends AbstractFilter
FilterItem contains a column and a filter for that column. Internally all filter are added as FilterItem in
IFilterableTableModel.
- See Also:
- Serialized Form
Methods inherited from class com.jidesoft.filter.AbstractFilter |
addFilterListener, fireFilterChanged, fireFilterContentChanged, fireFilterDisabled, fireFilterEnabled, fireFilterNameChanged, getConditionString, getFilterFactory, getFilterFactoryName, getFilterListeners, getName, getObjectGrouper, getObjectGrouperName, getPreference, isEnabled, isFilterValid, removeFilterListener, setEnabled, setFilterFactory, setFilterFactoryName, setName, setObjectGrouper, setObjectGrouperName, setPreference |
column
public int column
filter
public Filter filter
IFilterableTableModel.FilterItem
public IFilterableTableModel.FilterItem()
IFilterableTableModel.FilterItem
public IFilterableTableModel.FilterItem(Filter filter)
IFilterableTableModel.FilterItem
public IFilterableTableModel.FilterItem(int column,
Filter filter)
getColumn
public int getColumn()
setColumn
public void setColumn(int column)
getFilter
public Filter getFilter()
setFilter
public void setFilter(Filter filter)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
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)
- Check if this filter is stricter than the input filter while the two filters are with the same class.
- Specified by:
stricterThan
in interface Filter
- Overrides:
stricterThan
in class AbstractFilter
- Parameters:
inputFilter
- the input filter
- Returns:
- TRUE if the column of both filter are the same and this filter is stricter than the input filter.
Otherwise false.
clone
public Object clone()
throws CloneNotSupportedException
- Description copied from class:
AbstractFilter
- Creates and returns a copy of the filter.
- Specified by:
clone
in interface Filter
- Overrides:
clone
in class AbstractFilter
- Returns:
- a cloned copy of the filter.
- Throws:
CloneNotSupportedException
- if the cloning of the filter is not supported.