org.wingx.table
Class Filter

java.lang.Object
  extended by org.wingx.table.Filter
Direct Known Subclasses:
ListFilter

public class Filter
extends Object

Filter


Constructor Summary
Filter()
           
Filter(String field)
           
Filter(String field, Object value)
           
 
Method Summary
 boolean equals(Object filterValue, Object propertyValue)
          Compares the filter value with the property value of the row bean.
 String getField()
           
 Object getValue()
           
 boolean isVisible()
           
 void setField(String field)
           
 void setValue(Object value)
           
 void setVisible(boolean visible)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Filter

public Filter()

Filter

public Filter(String field)

Filter

public Filter(String field,
              Object value)
Method Detail

getField

public String getField()

setField

public void setField(String field)

getValue

public Object getValue()

setValue

public void setValue(Object value)

isVisible

public boolean isVisible()

setVisible

public void setVisible(boolean visible)

equals

public boolean equals(Object filterValue,
                      Object propertyValue)
Compares the filter value with the property value of the row bean. Overwrite this method if you have to manually compare the two values.

Parameters:
filterValue -
propertyValue -
Returns:
boolean


wingS Swings ;-)