Class UserParameters

java.lang.Object
eu.isas.peptideshaker.preferences.UserParameters
All Implemented Interfaces:
Serializable

public class UserParameters extends Object implements Serializable
In this class are stored the user preferences for PeptideShaker.
Author:
Marc Vaudel, Harald Barsnes
See Also:
  • 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

      public ArrayList<String> getRecentProjects()
      Returns the paths of the recent projects.
      Returns:
      the paths of the recent projects
    • removeRecentProject

      public void removeRecentProject(String recentProject)
      Removes a recent project from the list.
      Parameters:
      recentProject - the recent project to remove
    • addRecentProject

      public void addRecentProject(String recentProject)
      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

      public void addRecentProject(File recentProject)
      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