Package docking.widgets.table
Interface FilterTypeConverter<COLUMN_TYPE,FILTER_TYPE>
- Type Parameters:
COLUMN_TYPE
- the column typeFILTER_TYPE
- the new type to be used during filter operations
public interface FilterTypeConverter<COLUMN_TYPE,FILTER_TYPE>
An interface that is meant to take the column type of of a
DynamicTableColumn
and convert it to the specified type. This class is meant to be used when the dynamic
filtering mechanism is not correctly filtering a column, usually because the default filter
for the column type does not match what the renderer is displaying in the table.-
Method Summary
Modifier and TypeMethodDescriptionconvert
(COLUMN_TYPE t, Settings settings) Converts in instance of the column type to an instance of the destination typeReturns the destination class of the conversion
-
Method Details
-
getFilterType
Class<FILTER_TYPE> getFilterType()Returns the destination class of the conversion- Returns:
- the destination class
-
convert
Converts in instance of the column type to an instance of the destination type- Parameters:
t
- the column type instancesettings
- any settings the converter may need to convert the type- Returns:
- the new object
-