public class UtilitiesUserPreferences
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
USER_PREFERENCES_FILE
Location of the user preferences file.
|
Constructor and Description |
---|
UtilitiesUserPreferences()
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocalPrideFolder()
Returns the local PRIDE folder.
|
int |
getMemoryPreference()
Returns the preferred upper memory limit.
|
java.awt.Color |
getPeptideSelected()
Returns the color for a selected peptide.
|
java.lang.String |
getPeptideShakerPath()
Returns the path to the PeptideShaker installation.
|
java.lang.String |
getRelimsPath()
Returns the path to the Relims installation.
|
java.lang.String |
getReporterPath()
Returns the path to the Reporter installation.
|
java.lang.String |
getSearchGuiPath()
Returns the path to the SearchGUI installation.
|
java.awt.Color |
getSparklineColor()
Getter for the sparkline color.
|
java.awt.Color |
getSparklineColorNonValidated()
Getter for the non-validated sparkline color.
|
java.awt.Color |
getSparklineColorNotFound()
Returns the color for a not found sparkline bar chart plots.
|
java.awt.Color |
getSparklineColorPossible()
Returns the color for a possible sparkline bar chart plots.
|
java.awt.Color |
getSpectrumAnnotatedPeakColor()
Returns the color to use for the annotated peaks.
|
java.lang.Float |
getSpectrumAnnotatedPeakWidth()
Returns the width of the annotated peaks.
|
java.awt.Color |
getSpectrumBackgroundPeakColor()
Returns the color to use for the background peaks.
|
java.lang.Float |
getSpectrumBackgroundPeakWidth()
Returns the width of the background peaks.
|
static UtilitiesUserPreferences |
loadUserPreferences()
Retries the user preferences.
|
static void |
saveUserPreferences(UtilitiesUserPreferences userPreferences)
Convenience method saving the user preferences.
|
void |
setLocalPrideFolder(java.lang.String localPrideFolder)
Set the local PRIDE folder.
|
void |
setMemoryPreference(int memoryPreference)
Sets the preferred upper memory limit.
|
void |
setPeptideShakerPath(java.lang.String peptideShakerPath)
Set the path to the PeptideShaker installation.
|
void |
setRelimsPath(java.lang.String relimsPath)
Set the path to the Relims installation.
|
void |
setReporterPath(java.lang.String reporterPath)
Set the path to the PeptideShaker installation.
|
void |
setSearchGuiPath(java.lang.String searchGuiPath)
Set the path to the SearchGUI installation.
|
void |
setSparklineColor(java.awt.Color sparklineColorValidated)
Setter for the sparkline color.
|
void |
setSparklineColorNonValidated(java.awt.Color sparklineColorNonValidated)
Setter for the non-validated sparkline color.
|
void |
setSparklineColorPossible(java.awt.Color sparklineColorPossible)
Setter for the possible sparkline color.
|
void |
setSpectrumAnnotatedPeakColor(java.awt.Color spectrumAnnotatedPeakColor)
Set the color to use for the annotated peaks.
|
void |
setSpectrumAnnotatedPeakWidth(float spectrumAnnotatedPeakWidth)
Set the width of the annotated peaks.
|
void |
setSpectrumBackgroundPeakColor(java.awt.Color spectrumBackgroundPeakColor)
Set the color to use for the background peaks.
|
void |
setSpectrumBackgroundPeakWidth(float spectrumBackgroundPeakWidth)
Set the width of the background peaks.
|
public static final java.lang.String USER_PREFERENCES_FILE
public java.awt.Color getSparklineColor()
public void setSparklineColor(java.awt.Color sparklineColorValidated)
sparklineColorValidated
- the sparkline colorpublic java.awt.Color getSparklineColorNonValidated()
public java.awt.Color getPeptideSelected()
public java.awt.Color getSparklineColorNotFound()
public void setSparklineColorNonValidated(java.awt.Color sparklineColorNonValidated)
sparklineColorNonValidated
- the non-validated sparkline colorpublic java.awt.Color getSparklineColorPossible()
public void setSparklineColorPossible(java.awt.Color sparklineColorPossible)
sparklineColorPossible
- the possible sparkline colorpublic int getMemoryPreference()
public void setMemoryPreference(int memoryPreference)
memoryPreference
- the preferred upper memory limitpublic java.awt.Color getSpectrumAnnotatedPeakColor()
public void setSpectrumAnnotatedPeakColor(java.awt.Color spectrumAnnotatedPeakColor)
spectrumAnnotatedPeakColor
- the spectrumAnnotatedPeakColor to setpublic java.awt.Color getSpectrumBackgroundPeakColor()
public void setSpectrumBackgroundPeakColor(java.awt.Color spectrumBackgroundPeakColor)
spectrumBackgroundPeakColor
- the spectrumBackgroundPeakColor to setpublic java.lang.Float getSpectrumAnnotatedPeakWidth()
public void setSpectrumAnnotatedPeakWidth(float spectrumAnnotatedPeakWidth)
spectrumAnnotatedPeakWidth
- the spectrumAnnotatedPeakWidth to setpublic java.lang.Float getSpectrumBackgroundPeakWidth()
public void setSpectrumBackgroundPeakWidth(float spectrumBackgroundPeakWidth)
spectrumBackgroundPeakWidth
- the spectrumBackgroundPeakWidth to setpublic java.lang.String getSearchGuiPath()
public void setSearchGuiPath(java.lang.String searchGuiPath)
searchGuiPath
- the path to the SearchGUI installationpublic java.lang.String getRelimsPath()
public void setRelimsPath(java.lang.String relimsPath)
relimsPath
- the path to the * installationpublic java.lang.String getPeptideShakerPath()
public void setPeptideShakerPath(java.lang.String peptideShakerPath)
peptideShakerPath
- the path to the PeptideShaker installationpublic java.lang.String getReporterPath()
public void setReporterPath(java.lang.String reporterPath)
reporterPath
- the path to the PeptideShaker installationpublic static void saveUserPreferences(UtilitiesUserPreferences userPreferences)
userPreferences
- public static UtilitiesUserPreferences loadUserPreferences()
public java.lang.String getLocalPrideFolder()
public void setLocalPrideFolder(java.lang.String localPrideFolder)
localPrideFolder
- the localPrideFolder to setCopyright © 2013. All Rights Reserved.