processing.app.macosx
Class Platform
java.lang.Object
processing.app.Platform
processing.app.macosx.Platform
public class Platform
- extends Platform
Platform handler for Mac OS X.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Platform
public Platform()
setLookAndFeel
public void setLookAndFeel()
throws java.lang.Exception
- Description copied from class:
Platform
- Set the default L & F. While I enjoy the bounty of the sixteen possible
exception types that this UIManager method might throw, I feel that in
just this one particular case, I'm being spoiled by those engineers
at Sun, those Masters of the Abstractionverse. It leaves me feeling sad
and overweight. So instead, I'll pretend that I'm not offered eleven dozen
ways to report to the user exactly what went wrong, and I'll bundle them
all into a single catch-all "Exception". Because in the end, all I really
care about is whether things worked or not. And even then, I don't care.
- Overrides:
setLookAndFeel
in class Platform
- Throws:
java.lang.Exception
- Just like I said.
init
public void init(Base base)
- Overrides:
init
in class Platform
getSettingsFolder
public java.io.File getSettingsFolder()
throws java.lang.Exception
- Overrides:
getSettingsFolder
in class Platform
- Throws:
java.lang.Exception
getDefaultSketchbookFolder
public java.io.File getDefaultSketchbookFolder()
throws java.lang.Exception
- Overrides:
getDefaultSketchbookFolder
in class Platform
- Returns:
- null if not overridden, which will cause a prompt to show instead.
- Throws:
java.lang.Exception
openURL
public void openURL(java.lang.String url)
throws java.lang.Exception
- Overrides:
openURL
in class Platform
- Throws:
java.lang.Exception
openFolderAvailable
public boolean openFolderAvailable()
- Overrides:
openFolderAvailable
in class Platform
openFolder
public void openFolder(java.io.File file)
throws java.lang.Exception
- Overrides:
openFolder
in class Platform
- Throws:
java.lang.Exception