Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.filter
Class CompositeFilter

java.lang.Object
  extended by com.citra.filter.TableFilter
      extended by com.citra.filter.CompositeFilter
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AndTableFilter, OrTableFilter

public abstract class CompositeFilter
extends TableFilter

CompositeFilter is a TableFilter subclass that consists of an array of TableFilters.

See Also:
Serialized Form

Field Summary
protected  TableFilter[] tableFilters
          The array of TableFilters.
 
Fields inherited from class com.citra.filter.TableFilter
ALL_COLUMNS, column, filter
 
Constructor Summary
CompositeFilter(TableFilter[] tableFilters)
           
 
Method Summary
 TableFilter[] getTableFilters()
          Returns the array of TableFilters.
 void setColumn(int column)
          Sets the column to filter.
 
Methods inherited from class com.citra.filter.TableFilter
filter, filter, getColumn, getFilter, setFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tableFilters

protected TableFilter[] tableFilters
The array of TableFilters.

Constructor Detail

CompositeFilter

public CompositeFilter(TableFilter[] tableFilters)
Method Detail

getTableFilters

public TableFilter[] getTableFilters()
Returns the array of TableFilters.

Returns:
a TableFilter array.

setColumn

public void setColumn(int column)
Sets the column to filter. ALL_COLUMNS indicates that all columns should be filtered.

Overrides:
setColumn in class TableFilter
Parameters:
column - the column of the table to filter

Copyright © 2011 Citra Technologies. All Rights Reserved.