Package com.illumon.iris.gui.table
Interface QuickFilterable
- All Superinterfaces:
FilteredModel
,TableModel
- All Known Implementing Classes:
DBTableModel
,IrisTreeTableModel
A
FilteredModel
that supports a texual 'quick filter' that will be applied to anything it can validly
be converted to.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The maximum quick filter length -
Method Summary
Modifier and TypeMethodDescriptiondefault int
Get the maximum length of the quickfilter stringGet the current quick filter stringGet 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
-