org.extremecomponents.table.model
Class FilterHandler
java.lang.Object
org.extremecomponents.table.model.FilterHandler
- public class FilterHandler
- extends java.lang.Object
Deal with the filtering.
- Author:
- Jeff Johnston
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DO_CLEAR
public static final java.lang.String DO_CLEAR
- See Also:
- Constant Field Values
DO_SEARCH
public static final java.lang.String DO_SEARCH
- See Also:
- Constant Field Values
BUTTON
public static final java.lang.String BUTTON
- See Also:
- Constant Field Values
SEARCH_IMAGE
public static final java.lang.String SEARCH_IMAGE
- See Also:
- Constant Field Values
CLEAR_IMAGE
public static final java.lang.String CLEAR_IMAGE
- See Also:
- Constant Field Values
FilterHandler
public FilterHandler(TableModel model)
doFilter
public boolean doFilter()
doClear
public boolean doClear()
getButton
public java.lang.String getButton()
filterRows
public java.util.List filterRows(TableModel model,
java.util.List rows)
- Filter out the table using the Predicate pattern.
getFilter
public java.util.List getFilter(TableModel model)
- Get the Filter
getFilterDropLists
public java.util.Map getFilterDropLists(TableModel model)
- Make up the droplists that will be used for the filter. The droplists will be a distinct
set of the data in a column.
This could be very painful if the list is long so be careful about using for larger sets.
Trying to make this faster by running through bean only once.
destroy
public void destroy()
Copyright © 2004 sourceforge. All Rights Reserved.