|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sciapp.filter.TableFilter
com.sciapp.filter.AndTableFilter
public class AndTableFilter
A TableFilter that implements the logical AND operator on individual TableFilters.
| Field Summary | |
|---|---|
protected TableFilter[] |
tableFilters
The array of TableFilters on which the AND operator should be applied. |
| Fields inherited from class com.sciapp.filter.TableFilter |
|---|
ALL_COLUMNS, column, filter |
| Constructor Summary | |
|---|---|
AndTableFilter(TableFilter[] tableFilters)
Constructs an AndTableFilter with an array of TableFilters. |
|
AndTableFilter(TableFilter filter1,
TableFilter filter2)
Constructs an AndTableFilter with two TableFilters. |
|
| Method Summary | |
|---|---|
boolean |
filter(ListTableModel model,
Object row)
The AND operation. |
TableFilter[] |
getTableFilters()
Returns the array of the supplied TableFilters that are ANDed. |
void |
setColumn(int column)
Sets the column to filter. |
| Methods inherited from class com.sciapp.filter.TableFilter |
|---|
getColumn, getFilter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected TableFilter[] tableFilters
| Constructor Detail |
|---|
public AndTableFilter(TableFilter[] tableFilters)
public AndTableFilter(TableFilter filter1,
TableFilter filter2)
| Method Detail |
|---|
public boolean filter(ListTableModel model,
Object row)
filter in class TableFiltermodel - the ListTableModel that holds a reference to the tabular row datarow - the row of the table to filter, represented as an object
public TableFilter[] getTableFilters()
public void setColumn(int column)
setColumn in class TableFiltercolumn - the column of the table to filter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||