public class WindowsPlatform extends DefaultPlatform
| Modifier and Type | Class and Description |
|---|---|
static interface |
WindowsPlatform.WinLibC |
DefaultPlatform.CLibrary| Constructor and Description |
|---|
WindowsPlatform() |
| Modifier and Type | Method and Description |
|---|---|
static int |
detectSystemDPI() |
File |
getDefaultSketchbookFolder()
Get the Documents and Settings\name\My Documents\Processing folder.
|
String |
getenv(String variable) |
File |
getSettingsFolder()
This function should throw an exception or return a value.
|
int |
getSystemDPI() |
void |
initBase(Base base) |
void |
setenv(String variable,
String value) |
int |
unsetenv(String variable) |
openFolder, openFolderAvailable, openURL, saveLanguage, setLookAndFeelpublic void initBase(Base base)
initBase in class DefaultPlatformpublic File getSettingsFolder()
throws Exception
DefaultPlatformgetSettingsFolder in class DefaultPlatformExceptionpublic File getDefaultSketchbookFolder()
throws Exception
getDefaultSketchbookFolder in class DefaultPlatformException - so that subclasses can throw a fitpublic void setenv(String variable,
String value)
setenv in class DefaultPlatformpublic String getenv(String variable)
getenv in class DefaultPlatformpublic int unsetenv(String variable)
unsetenv in class DefaultPlatformpublic int getSystemDPI()
getSystemDPI in class DefaultPlatformpublic static int detectSystemDPI()