Package com.illumon.iris.gui.table
Interface QuickFilterable
- All Superinterfaces:
FilteredModel
,TableModel
- All Known Implementing Classes:
DBTableModel
,IrisTreeTableModel
public interface QuickFilterable extends FilteredModel
A
FilteredModel
that supports a texual 'quick filter' that will be applied to anything it can validly
be converted to.-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_MAX_QUICKFILTER_LENGTH
The maximum quick filter length -
Method Summary
Modifier and Type Method Description default int
getMaxQuickfilterLength()
Get the maximum length of the quickfilter stringString
getQuickFilter()
Get the current quick filter stringQuickFilterMode
getQuickFilterMode()
Get the current quick filter mode.void
setQuickFilter(String filter, QuickFilterMode mode)
Set the quick filter to apply.Methods inherited from interface com.illumon.iris.gui.table.FilteredModel
filterChanged, getColumnSet, getFilterStrategy, getSavedStrategies, isFilterable, isFilteringOn, removeStrategy, saveStrategy
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
-
Field Details
-
DEFAULT_MAX_QUICKFILTER_LENGTH
static final int DEFAULT_MAX_QUICKFILTER_LENGTHThe maximum quick filter length
-
-
Method Details
-
getMaxQuickfilterLength
default int getMaxQuickfilterLength()Get the maximum length of the quickfilter string -
setQuickFilter
Set the quick filter to apply.- Parameters:
filter
- the filter textmode
- theQuickFilterMode
to apply with
-
getQuickFilter
String getQuickFilter()Get the current quick filter string- Returns:
- the current filter
-
getQuickFilterMode
QuickFilterMode getQuickFilterMode()Get the current quick filter mode.- Returns:
- the quickfilter mode
-