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 intThe maximum quick filter length -
Method Summary
Modifier and TypeMethodDescriptiondefault intGet the maximum length of the quickfilter stringGet the current quick filter stringGet the current quick filter mode.voidsetQuickFilter(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, saveStrategyMethods 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- theQuickFilterModeto 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
-