Package com.compomics.util.gui.filtering
Class FilterParameters
java.lang.Object
com.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.gui.filtering.FilterParameters
- All Implemented Interfaces:
Serializable
This class groups the display filter preferences.
- Author:
- Marc Vaudel
- See Also:
-
Field Summary
Fields inherited from class com.compomics.util.experiment.personalization.ExperimentObject
NO_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddHidingFilter(MatchFilter matchFilter) Adds a hiding filter (previous filter with same name will silently be overwritten).voidaddStarringFilter(MatchFilter matchFilter) Adds a starring filter (previous filter with same name will silently be overwritten).booleanfilterExists(String filtername) Returns a boolean indicating whether the name of this filter is already taken or not.Returns the peptide hide filters.Returns the peptide star filters.Returns the protein hide filters.Returns the protein star filters.Returns the psm hide filters.Returns the psm star filters.voidsetPeptideHideFilters(HashMap<String, PeptideFilter> peptideHideFilters) Sets the peptide hide filters.voidsetPeptideStarFilters(HashMap<String, PeptideFilter> peptideStarFilters) Sets the peptide star filters.voidsetProteinHideFilters(HashMap<String, ProteinFilter> proteinHideFilters) Sets the protein hide filters.voidsetProteinStarFilters(HashMap<String, ProteinFilter> proteinStarFilters) Sets the protein star filters.voidsetPsmHideFilters(HashMap<String, PsmFilter> psmHideFilters) Sets the psm hide filters.voidsetPsmStarFilters(HashMap<String, PsmFilter> psmStarFilters) Sets the psm star filters.Methods inherited from class com.compomics.util.experiment.personalization.ExperimentObject
addUrParam, asLong, clearParametersMap, getId, getUrParam, getUrParams, removeUrParam, setId, setUrParams
-
Constructor Details
-
FilterParameters
public FilterParameters()Constructors.
-
-
Method Details
-
getProteinHideFilters
Returns the protein hide filters.- Returns:
- the protein hide filters
-
setProteinHideFilters
Sets the protein hide filters.- Parameters:
proteinHideFilters- the protein hide filters
-
getProteinStarFilters
Returns the protein star filters.- Returns:
- the protein star filters
-
setProteinStarFilters
Sets the protein star filters.- Parameters:
proteinStarFilters- the protein star filters
-
getPeptideHideFilters
Returns the peptide hide filters.- Returns:
- the peptide hide filters
-
setPeptideHideFilters
Sets the peptide hide filters.- Parameters:
peptideHideFilters- the peptide hide filters
-
getPeptideStarFilters
Returns the peptide star filters.- Returns:
- the peptide star filters
-
setPeptideStarFilters
Sets the peptide star filters.- Parameters:
peptideStarFilters- the peptide star filters
-
getPsmHideFilters
Returns the psm hide filters.- Returns:
- the psm hide filters
-
setPsmHideFilters
Sets the psm hide filters.- Parameters:
psmHideFilters- the psm hide filters
-
getPsmStarFilters
Returns the psm star filters.- Returns:
- the psm star filters
-
setPsmStarFilters
Sets the psm star filters.- Parameters:
psmStarFilters- the psm star filters
-
addStarringFilter
Adds a starring filter (previous filter with same name will silently be overwritten).- Parameters:
matchFilter- the new filter
-
addHidingFilter
Adds a hiding filter (previous filter with same name will silently be overwritten).- Parameters:
matchFilter- the new filter
-
filterExists
Returns a boolean indicating whether the name of this filter is already taken or not.- Parameters:
filtername- the name of the new filter- Returns:
- a boolean indicating whether the name of this filter is already taken or not
-