public class DefaultTableFilter extends Object implements ITableFilter<VSRow,VSField>
UITable.setFilterText(String)
and the flags for case sensitive
with UITable.setFilterCaseSensitive(boolean)
and the operation
with UITable.setFilterOperation(ITableFilter.Op)
.ITableFilter.Op
Constructor and Description |
---|
DefaultTableFilter() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Called when the content provider is no longer required by the table.
|
void |
initializeFilter()
Called before filtering process begins to initialize values such as filtering
columns, filter text, etc.
|
void |
onInitialize(UITable table)
Called to initialize the content provider for the UITable instance.
|
void |
onReinitialized()
This method is called when the table needs re-initialization due to
e.g.
|
boolean |
select(VSRow row,
VSField[] cells)
Returns whether the given row makes it through this filter.
|
public void onInitialize(UITable table)
onInitialize
in interface ITableFilter<VSRow,VSField>
public void onReinitialized()
onReinitialized
in interface ITableFilter<VSRow,VSField>
public void dispose()
dispose
in interface ITableFilter<VSRow,VSField>
public void initializeFilter()
initializeFilter
in interface ITableFilter<VSRow,VSField>
public boolean select(VSRow row, VSField[] cells)
select
in interface ITableFilter<VSRow,VSField>
row
- The row.cells
- The cells of the row.
Note: the array of cells may very well be shorter or longer than
the actual number of columns in table.true
if row is included in the filtered set, and
false
if excluded.iizi® is a registered trademark of Mindus SARL. © Copyright 2019 Mindus SARL. All rights reserved.