org.objectweb.jac.aspects.gui
Class FilterCriteria

java.lang.Object
  |
  +--org.objectweb.jac.aspects.gui.FilterCriteria

public class FilterCriteria
extends Object


Constructor Summary
FilterCriteria(int column, FieldItem field)
           
 
Method Summary
 boolean equals(Object o)
           
 int getColumn()
           
 FieldItem getField()
           
 Object getValue()
           
 int hashCode()
           
 boolean isActive()
           
 boolean match(ExtendedTableModel model, int row)
          Tells wether a row of table model matches the filter
 void setActive(boolean active)
           
 void setValue(Object value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FilterCriteria

public FilterCriteria(int column,
                      FieldItem field)
Method Detail

match

public boolean match(ExtendedTableModel model,
                     int row)
Tells wether a row of table model matches the filter

Parameters:
model - the table model
row - row index in the table model

getColumn

public int getColumn()

getField

public FieldItem getField()

isActive

public boolean isActive()

setActive

public void setActive(boolean active)

setValue

public void setValue(Object value)

getValue

public Object getValue()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object