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
public class FilterParameters extends ExperimentObject
This class groups the display filter preferences.
- Author:
- Marc Vaudel
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description FilterParameters()
Constructors. -
Method Summary
Modifier and Type Method Description void
addHidingFilter(MatchFilter matchFilter)
Adds a hiding filter (previous filter with same name will silently be overwritten).void
addStarringFilter(MatchFilter matchFilter)
Adds a starring filter (previous filter with same name will silently be overwritten).boolean
filterExists(String filtername)
Returns a boolean indicating whether the name of this filter is already taken or not.HashMap<String,PeptideFilter>
getPeptideHideFilters()
Returns the peptide hide filters.HashMap<String,PeptideFilter>
getPeptideStarFilters()
Returns the peptide star filters.HashMap<String,ProteinFilter>
getProteinHideFilters()
Returns the protein hide filters.HashMap<String,ProteinFilter>
getProteinStarFilters()
Returns the protein star filters.HashMap<String,PsmFilter>
getPsmHideFilters()
Returns the psm hide filters.HashMap<String,PsmFilter>
getPsmStarFilters()
Returns the psm star filters.void
setPeptideHideFilters(HashMap<String,PeptideFilter> peptideHideFilters)
Sets the peptide hide filters.void
setPeptideStarFilters(HashMap<String,PeptideFilter> peptideStarFilters)
Sets the peptide star filters.void
setProteinHideFilters(HashMap<String,ProteinFilter> proteinHideFilters)
Sets the protein hide filters.void
setProteinStarFilters(HashMap<String,ProteinFilter> proteinStarFilters)
Sets the protein star filters.void
setPsmHideFilters(HashMap<String,PsmFilter> psmHideFilters)
Sets the psm hide filters.void
setPsmStarFilters(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
-