javaswingfilterjide

How to apply multiple filters to the column


I have a filter applied to my column, which is considering a single filter option. How can I apply multiple filters to the same column.

AbstractFilter filter;
WildcardFilter<Object> filter = new WildcardFilter<Object>(filterValue) {
                        @Override
                        @SuppressWarnings(value = "unchecked")
                        public boolean isValueFiltered(final Object result) {
                            boolean isValueFiltered = super.isValueFiltered(s);
                            isValueFiltered;
                        }
                    };
                       filter.setBeginWith(false);
                       filter.setEndWith(false);
                       filter = filter;

Solution

  • I was able to combine Multiple filters using AndFilter.