Package tech.molecules.leet.table
Interface NColumn.NexusRowFilter<U>
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultNumericRangeFilter,NexusChemPropertiesFilter,StructureColumn.SubstructureRowFilter
public static interface NColumn.NexusRowFilter<U> extends Serializable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BitSetfilterNexusRows(U data, List<String> ids, BitSet filtered)doublegetApproximateFilterSpeed()JPanelgetFilterGUI()StringgetFilterName()booleanisReady()For certain filters it may be possible that the column first has to initialize specific datastructures asynchronously.voidsetupFilter(NexusTableModel model, U dp)
-
-
-
Method Detail
-
getFilterName
String getFilterName()
-
filterNexusRows
BitSet filterNexusRows(U data, List<String> ids, BitSet filtered)
- Parameters:
data-ids-filtered- bits that are one indicate rows that are not yet filtered. For these the function has to check if it should be filtered, and in that case for the given position in the result bitset a zero must be returned.- Returns:
-
getApproximateFilterSpeed
double getApproximateFilterSpeed()
-
setupFilter
void setupFilter(NexusTableModel model, U dp)
-
getFilterGUI
JPanel getFilterGUI()
-
isReady
boolean isReady()
For certain filters it may be possible that the column first has to initialize specific datastructures asynchronously. In this case, the filter will return false in this function until the data is ready. Example would be the substructure filter and a structure column (loading fingerprints asynchronously).- Returns:
-
-