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, setLookAndFeel
public 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 setenv(String variable, String value)
setenv
in class DefaultPlatform
public String getenv(String variable)
getenv
in class DefaultPlatform
public int unsetenv(String variable)
unsetenv
in class DefaultPlatform
public int getSystemDPI()
getSystemDPI
in class DefaultPlatform
public static int detectSystemDPI()