com.jidesoft.list
Interface ListFilter<T>
- All Superinterfaces:
- Cloneable, Filter<T>, Serializable
- All Known Implementing Classes:
- AbstractListFilter
public interface ListFilter<T>
- extends Filter<T>
A filter for FilterableListModel
. This filter tells you the value's row index in case you need it when
determining if the value should be filtered. Of course, if you don't need row index when filtering a value, you can
just use a regular Filter
.
Method Summary |
int |
getRowIndex()
Gets the row index in the ListModel. |
void |
setRowIndex(int rowIndex)
Sets the row index in the ListModel. |
Methods inherited from interface com.jidesoft.filter.Filter |
addFilterListener, clone, getFilterFactory, getFilterFactoryName, getName, getPreference, isEnabled, isValueFiltered, removeFilterListener, setEnabled, setFilterFactory, setFilterFactoryName, setName, setPreference, stricterThan |
setRowIndex
void setRowIndex(int rowIndex)
- Sets the row index in the ListModel.
- Parameters:
rowIndex
-
getRowIndex
int getRowIndex()
- Gets the row index in the ListModel.
- Returns:
- the row index.