01: package tijmp.actions;
02:
03: import java.awt.event.ActionEvent;
04: import tijmp.ui.FilterConfig;
05:
06: /** A class that sets the current filter to the default filter.
07: */
08: public class DefaultFilter extends FilterAction {
09: public DefaultFilter(FilterConfig fc) {
10: super ("Default filter", fc);
11: }
12:
13: public void actionPerformed(ActionEvent e) {
14: getFilterConfig().setDefaultFilter();
15: }
16: }
|