public class Platform
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Platform.CLibrary |
| Constructor and Description |
|---|
Platform() |
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getDefaultSketchbookFolder() |
java.lang.String |
getenv(java.lang.String variable) |
java.io.File |
getSettingsFolder() |
void |
init(Base base) |
void |
openFolder(java.io.File file) |
boolean |
openFolderAvailable() |
void |
openURL(java.lang.String url) |
void |
setenv(java.lang.String variable,
java.lang.String value) |
void |
setLookAndFeel()
Set the default L & F.
|
int |
unsetenv(java.lang.String variable) |
public void setLookAndFeel()
throws java.lang.Exception
java.lang.Exception - Just like I said.public void init(Base base)
public java.io.File getSettingsFolder()
throws java.lang.Exception
java.lang.Exceptionpublic java.io.File getDefaultSketchbookFolder()
throws java.lang.Exception
java.lang.Exception - so that subclasses can throw a fitpublic void openURL(java.lang.String url)
throws java.lang.Exception
java.lang.Exceptionpublic boolean openFolderAvailable()
public void openFolder(java.io.File file)
throws java.lang.Exception
java.lang.Exceptionpublic void setenv(java.lang.String variable,
java.lang.String value)
public java.lang.String getenv(java.lang.String variable)
public int unsetenv(java.lang.String variable)