processing.app.linux
Class Platform

java.lang.Object
  extended by processing.app.Platform
      extended by processing.app.linux.Platform

public class Platform
extends Platform

Used by Base for platform-specific tweaking, for instance finding the sketchbook location using the Windows registry, or OS X event handling.


Constructor Summary
Platform()
           
 
Method Summary
 void openFolder(java.io.File file)
           
 boolean openFolderAvailable()
           
 void openURL(java.lang.String url)
           
 void setLookAndFeel()
          Set the default L & F.
 
Methods inherited from class processing.app.Platform
getDefaultSketchbookFolder, getSettingsFolder, init
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Platform

public Platform()
Method Detail

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.

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