Package com.webcodepro.applecommander.ui
Class UserPreferences
- java.lang.Object
-
- com.webcodepro.applecommander.ui.UserPreferences
-
public class UserPreferences extends java.lang.Object
Provide a generalized and common mechanism to handle user preferences throughout all AppleCommander user interfaces.Date created: Nov 18, 2002 10:08:34 PM
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCompileDirectory()
Get the compile directory.java.lang.String
getDiskImageDirectory()
Get the disk image directory (used for "open" command).java.lang.String
getExportDirectory()
Get the export directory.java.lang.String
getImportDirectory()
Get the import directory.static UserPreferences
getInstance()
Get the singleton UserPreferences.java.lang.String
getSaveDirectory()
Get the save directory.void
save()
Save the user preferences to disk.void
setCompileDirectory(java.lang.String compileDirectory)
Set the compile directory.void
setDiskImageDirectory(java.lang.String diskImageDirectory)
Set the disk image directory.void
setExportDirectory(java.lang.String exportDirectory)
Set the export directory.void
setImportDirectory(java.lang.String importDirectory)
Set the import directory.void
setSaveDirectory(java.lang.String saveDirectory)
Set the save directory.
-
-
-
Method Detail
-
getInstance
public static UserPreferences getInstance()
Get the singleton UserPreferences.
-
save
public void save()
Save the user preferences to disk.
-
getDiskImageDirectory
public java.lang.String getDiskImageDirectory()
Get the disk image directory (used for "open" command).
-
getExportDirectory
public java.lang.String getExportDirectory()
Get the export directory.
-
getCompileDirectory
public java.lang.String getCompileDirectory()
Get the compile directory.
-
getSaveDirectory
public java.lang.String getSaveDirectory()
Get the save directory.
-
getImportDirectory
public java.lang.String getImportDirectory()
Get the import directory.
-
setDiskImageDirectory
public void setDiskImageDirectory(java.lang.String diskImageDirectory)
Set the disk image directory.
-
setExportDirectory
public void setExportDirectory(java.lang.String exportDirectory)
Set the export directory.
-
setCompileDirectory
public void setCompileDirectory(java.lang.String compileDirectory)
Set the compile directory.
-
setSaveDirectory
public void setSaveDirectory(java.lang.String saveDirectory)
Set the save directory.
-
setImportDirectory
public void setImportDirectory(java.lang.String importDirectory)
Set the import directory.
-
-