com.isti.util
Class BasicRowFilter

java.lang.Object
  extended by com.isti.util.BasicRowFilter
All Implemented Interfaces:
IstiRowFilter

public class BasicRowFilter
extends java.lang.Object
implements IstiRowFilter

Class BasicRowFilter defines a basic row filter.


Constructor Summary
BasicRowFilter(int rowCount)
          Creates the basic row filter.
 
Method Summary
 boolean isRowVisible(int rowIndex)
          Determines if the row is visible.
 void setRowVisible(int rowIndex, boolean b)
          Sets if the row is visible or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicRowFilter

public BasicRowFilter(int rowCount)
Creates the basic row filter.

Parameters:
rowCount - the row count.
Method Detail

isRowVisible

public boolean isRowVisible(int rowIndex)
Determines if the row is visible.

Specified by:
isRowVisible in interface IstiRowFilter
Parameters:
rowIndex - the actual row index.
Returns:
true if the row is visible, false otherwise.

setRowVisible

public void setRowVisible(int rowIndex,
                          boolean b)
Sets if the row is visible or not.

Parameters:
rowIndex - the actual row index.
b - true for visible, false otherwise.