public class DisplayParameters
extends com.compomics.util.experiment.personalization.ExperimentObject
| Modifier and Type | Field and Description |
|---|---|
static String |
LOADING_MESSAGE
The text displayed in the cell of a table in case the data is not loaded.
|
| Constructor and Description |
|---|
DisplayParameters()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
HashSet<String> |
getDisplayedModifications()
Returns a list containing the names of the PTMs to display.
|
int |
getnAASurroundingPeptides()
Returns the number of amino acids surrounding a peptide sequence (1 by
default).
|
boolean |
isDisplayedPTM(String ptmName)
Indicates whether a PTM shall be displayed on the interface.
|
void |
setDefaultSelection(ArrayList<String> modifications)
Set the list of visible modifications.
|
void |
setDisplayedModification(String ptmName,
boolean displayed)
Sets whether a PTM shall be displayed on the sequences or not.
|
void |
setIntensityIonTable(boolean intensityIonTable)
Set if the intensity or m/z ion table should be shown.
|
void |
setnAASurroundingPeptides(int nAASurroundingPeptides)
Sets the number of amino acids surrounding a peptide sequence.
|
void |
setShowBars(boolean showBars)
Set if the bars in the bubble plot are to be shown or not.
|
boolean |
showBars()
If true, bars are shown in the bubble plot highlighting the ions.
|
boolean |
showHiddenProteins()
Returns whether hidden proteins should be displayed.
|
void |
showHiddenProteins(boolean showHiddenProteins)
Sets whether hidden proteins should be displayed.
|
boolean |
showScores()
Returns whether scores should be displayed.
|
void |
showScores(boolean showScores)
Sets whether scores should be displayed.
|
boolean |
showValidatedProteinsOnly()
Returns whether only the validated proteins should be displayed.
|
void |
showValidatedProteinsOnly(boolean showValidatedProteinsOnly)
Sets whether only the validated proteins should be displayed.
|
boolean |
useIntensityIonTable()
If true, the ion table is shown as an intensity version, false displays
the standard Mascot version.
|
public static final String LOADING_MESSAGE
public void showHiddenProteins(boolean showHiddenProteins)
showHiddenProteins - a boolean indicating whether hidden proteins
should be displayedpublic boolean showHiddenProteins()
public void showScores(boolean showScores)
showScores - a boolean indicating whether scores should be displayedpublic boolean showScores()
public void showValidatedProteinsOnly(boolean showValidatedProteinsOnly)
showValidatedProteinsOnly - a boolean indicating whether only the
validated proteins should be displayedpublic boolean showValidatedProteinsOnly()
public int getnAASurroundingPeptides()
public void setnAASurroundingPeptides(int nAASurroundingPeptides)
nAASurroundingPeptides - the number of amino acids surrounding a
peptide sequencepublic void setDisplayedModification(String ptmName, boolean displayed)
ptmName - the name of the PTMdisplayed - a boolean indicating whether the PTM shall be displayedpublic boolean isDisplayedPTM(String ptmName)
ptmName - the name of the PTMpublic void setDefaultSelection(ArrayList<String> modifications)
modifications - the modifications to displaypublic HashSet<String> getDisplayedModifications()
public boolean showBars()
public void setShowBars(boolean showBars)
showBars - if the bars in the bubble plot are to be shownpublic boolean useIntensityIonTable()
public void setIntensityIonTable(boolean intensityIonTable)
intensityIonTable - if the intensity or m/z ion table should be
shownCopyright © 2021. All rights reserved.