Class UserParameters
java.lang.Object
eu.isas.peptideshaker.preferences.UserParameters
- All Implemented Interfaces:
Serializable
In this class are stored the user preferences for PeptideShaker.
- Author:
- Marc Vaudel, Harald Barsnes
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRecentProject(File recentProject) Adds a recent project to the list and limits the list of recent projects to a size of 20.voidaddRecentProject(String recentProject) Adds a recent project to the list and limits the list of recent projects to a size of 20.Returns the paths of the recent projects.voidremoveRecentProject(String recentProject) Removes a recent project from the list.voidsetShowSliders(boolean showSliders) Sets whether sliders should be displayed.booleanReturns whether sliders should be displayed.
-
Constructor Details
-
UserParameters
public UserParameters()Constructor.
-
-
Method Details
-
showSliders
public boolean showSliders()Returns whether sliders should be displayed.- Returns:
- whether sliders should be displayed
-
setShowSliders
public void setShowSliders(boolean showSliders) Sets whether sliders should be displayed.- Parameters:
showSliders- whether sliders should be displayed
-
getRecentProjects
Returns the paths of the recent projects.- Returns:
- the paths of the recent projects
-
removeRecentProject
Removes a recent project from the list.- Parameters:
recentProject- the recent project to remove
-
addRecentProject
Adds a recent project to the list and limits the list of recent projects to a size of 20.- Parameters:
recentProject- the path of the recent project to add
-
addRecentProject
Adds a recent project to the list and limits the list of recent projects to a size of 20.- Parameters:
recentProject- the recent project to add
-