|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
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.NotTableFilter
public class NotTableFilter
A TableFilter that implements the logical NEGATION operator.
Field Summary | |
---|---|
protected TableFilter |
tableFilter
The TableFilter to negate. |
Fields inherited from class com.sciapp.filter.TableFilter |
---|
ALL_COLUMNS, column, filter |
Constructor Summary | |
---|---|
NotTableFilter(TableFilter tableFilter)
Constructs a NotTableFilter. |
Method Summary | |
---|---|
boolean |
filter(ListTableModel model,
Object row)
The NEGATION operation. |
boolean |
filter(TableModel model,
int rowIndex)
The NEGATION operation. |
TableFilter |
getTableFilter()
Returns the TableFilter that is negated. |
void |
setColumn(int column)
Sets the column to filter. |
Methods inherited from class com.sciapp.filter.TableFilter |
---|
getColumn, getFilter, setFilter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected TableFilter tableFilter
Constructor Detail |
---|
public NotTableFilter(TableFilter tableFilter)
Method Detail |
---|
public boolean filter(ListTableModel model, Object row)
filter
in class TableFilter
model
- the ListTableModel that holds a reference to the tabular row datarow
- the row of the table to filter, represented as an object
tableFilter
public TableFilter getTableFilter()
public void setColumn(int column)
setColumn
in class TableFilter
column
- the column of the table to filterpublic boolean filter(TableModel model, int rowIndex)
filter
in class TableFilter
model
- the TableModel that holds the unfiltered row datarowIndex
- the index of the row of the table to filter
tableFilter
|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |