Class DataFilter

java.lang.Object
generalDatabase.dataExport.DataFilter
Direct Known Subclasses:
LookupFilter, ValueFilter

public abstract class DataFilter extends Object
  • Constructor Details

    • DataFilter

      public DataFilter(DataFilterChangeListener dataFilterChangeListener)
      Parameters:
      dataFilterChangeListener -
  • Method Details

    • filterChanged

      public void filterChanged()
      Should be called by any filter whenever it's data have changed so that any necessary actions can be taken.
    • filterSelectAction

      public abstract boolean filterSelectAction(MouseEvent e)
      Display some kind of action which will enable users to set the filter - be it a drop down menu, a dialog, etc.
      Returns:
      true if filter settings are changed.
    • getColumnName

      public abstract String getColumnName()
      Get the column name associated with this filter.
      Returns:
      the column name associated with this filter.
    • getFilterClause

      public abstract String getFilterClause(SQLTypes sqlTypes)
      Get a filter clause which can be incorporated into an SQL string
      Returns:
      SQL clause (without the WHERE).