|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.simbrain.world.odorworld.OdorWorldPreferences
public final class OdorWorldPreferences
OdorWorldPreferences handles storage and retrieval of user preferences, e.g. the current directory.
| Field Summary | |
|---|---|
static String |
FS
System specific file system seperator. |
| Method Summary | |
|---|---|
static String |
getCurrentDirectory()
Return the current directory. |
static String |
getDefaultCurrentDirectory()
Return the default current directory. |
static void |
restoreDefaults()
Restore defaults. |
static void |
saveAll()
Save all user preferences. |
static void |
setCurrentDirectory(String dir)
Sets the current directory where worlds are saved. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String FS
| Method Detail |
|---|
public static void saveAll()
public static void restoreDefaults()
public static void setCurrentDirectory(String dir)
dir - Location to save worldspublic static String getCurrentDirectory()
public static String getDefaultCurrentDirectory()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||