public class MacPlatform extends DefaultPlatform
DefaultPlatform.CLibrary
Constructor and Description |
---|
MacPlatform() |
Modifier and Type | Method and Description |
---|---|
File |
getDefaultSketchbookFolder() |
File |
getSettingsFolder()
This function should throw an exception or return a value.
|
void |
initBase(Base base) |
void |
openURL(String url) |
void |
saveLanguage(String language)
Handle any platform-specific languages saving.
|
getenv, getSystemDPI, openFolder, openFolderAvailable, setenv, setLookAndFeel, unsetenv
public void saveLanguage(String language)
DefaultPlatform
saveLanguage
in class DefaultPlatform
language
- 2-digit lowercase ISO language codepublic void initBase(Base base)
initBase
in class DefaultPlatform
public File getSettingsFolder() throws Exception
DefaultPlatform
getSettingsFolder
in class DefaultPlatform
Exception
public File getDefaultSketchbookFolder() throws Exception
getDefaultSketchbookFolder
in class DefaultPlatform
Exception
- so that subclasses can throw a fitpublic void openURL(String url) throws Exception
openURL
in class DefaultPlatform
Exception