VisualFilters

Top  Previous  Next

 

A VisualFilter is the visual representation of a Filter. VisualFilter uses a JPanel that contains the controls to manipulate the filter object. An instance of the panel is retrieved with:

 

public javax.swing.JPanel getPanel();

 

VisualFilter also defines methods for binding the visual controls on the panel with a TableFilter object, which is used in constructing the FilterModelEvent which is propagated to the FilterModelListeners:

 

public TableFilter getTableFilter();

public void setTableFilter(TableFilter tf);

 

We have implemented several visual filters for all the common objects:

 

DateVisualFilter: for Dates

StringVisualFilter: for Strings

BooleanVisualFilter: for Booleans

NumericVisualFilter: for Numbers