|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.simbrain.workspace.WorkspacePreferences
public class WorkspacePreferences
WorkspacePreferences handles storage and retrieval of user preferences, e.g. current directory.
| Constructor Summary | |
|---|---|
WorkspacePreferences()
|
|
| Method Summary | |
|---|---|
static String |
getCurrentDirectory()
Return the current workspace directory. |
static String |
getDefaultCurrentDirectory()
Return the default current workspace directory. |
static String |
getDefaultDefaultFile()
Return the default defalut file. |
static String |
getDefaultFile()
Return the default file. |
static void |
restoreDefaults()
Restors user preferences to default values. |
static void |
saveAll()
Save all user preferences. |
static void |
setCurrentDirectory(String dir)
Sets the current workspace directory. |
static void |
setDefaultFile(String file)
Sets the default workspace file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WorkspacePreferences()
| Method Detail |
|---|
public static void saveAll()
public static void restoreDefaults()
public static void setCurrentDirectory(String dir)
dir - Directory to setpublic static String getCurrentDirectory()
public static String getDefaultCurrentDirectory()
public static void setDefaultFile(String file)
file - Default file to setpublic static String getDefaultFile()
public static String getDefaultDefaultFile()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||