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 intDEFAULT_MAX_QUICKFILTER_LENGTHThe maximum quick filter length -
Method Summary
Modifier and Type Method Description default intgetMaxQuickfilterLength()Get the maximum length of the quickfilter stringStringgetQuickFilter()Get the current quick filter stringQuickFilterModegetQuickFilterMode()Get 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
-