public class UserParameters extends Object implements Serializable
| Constructor and Description |
|---|
UserParameters()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRecentProject(File recentProject)
Adds a recent project to the list and limits the list of recent projects
to a size of 20.
|
void |
addRecentProject(String recentProject)
Adds a recent project to the list and limits the list of recent projects
to a size of 20.
|
ArrayList<String> |
getRecentProjects()
Returns the paths of the recent projects.
|
void |
removeRecentProject(String recentProject)
Removes a recent project from the list.
|
void |
setShowSliders(boolean showSliders)
Sets whether sliders should be displayed.
|
boolean |
showSliders()
Returns whether sliders should be displayed.
|
public boolean showSliders()
public void setShowSliders(boolean showSliders)
showSliders - whether sliders should be displayedpublic ArrayList<String> getRecentProjects()
public void removeRecentProject(String recentProject)
recentProject - the recent project to removepublic void addRecentProject(String recentProject)
recentProject - the path of the recent project to addpublic void addRecentProject(File recentProject)
recentProject - the recent project to addCopyright © 2021. All rights reserved.