processing.app.macosx
Class ThinkDifferent

java.lang.Object
  extended by processing.app.macosx.ThinkDifferent
All Implemented Interfaces:
com.apple.eawt.ApplicationListener, java.util.EventListener

public class ThinkDifferent
extends java.lang.Object
implements com.apple.eawt.ApplicationListener

Deal with issues related to thinking different. This handles the basic Mac OS X menu commands (and apple events) for open, about, prefs, etc. Based on OSXAdapter.java from Apple DTS. As of 0140, this code need not be built on platforms other than OS X, because of the new platform structure which isolates through reflection.


Constructor Summary
ThinkDifferent(Base base)
           
 
Method Summary
 void handleAbout(com.apple.eawt.ApplicationEvent ae)
           
 void handleOpenApplication(com.apple.eawt.ApplicationEvent ae)
           
 void handleOpenFile(com.apple.eawt.ApplicationEvent ae)
           
 void handlePreferences(com.apple.eawt.ApplicationEvent ae)
           
 void handlePrintFile(com.apple.eawt.ApplicationEvent ae)
           
 void handleQuit(com.apple.eawt.ApplicationEvent ae)
           
 void handleReOpenApplication(com.apple.eawt.ApplicationEvent arg0)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThinkDifferent

public ThinkDifferent(Base base)
Method Detail

handleAbout

public void handleAbout(com.apple.eawt.ApplicationEvent ae)
Specified by:
handleAbout in interface com.apple.eawt.ApplicationListener

handlePreferences

public void handlePreferences(com.apple.eawt.ApplicationEvent ae)
Specified by:
handlePreferences in interface com.apple.eawt.ApplicationListener

handleOpenApplication

public void handleOpenApplication(com.apple.eawt.ApplicationEvent ae)
Specified by:
handleOpenApplication in interface com.apple.eawt.ApplicationListener

handleOpenFile

public void handleOpenFile(com.apple.eawt.ApplicationEvent ae)
Specified by:
handleOpenFile in interface com.apple.eawt.ApplicationListener

handlePrintFile

public void handlePrintFile(com.apple.eawt.ApplicationEvent ae)
Specified by:
handlePrintFile in interface com.apple.eawt.ApplicationListener

handleQuit

public void handleQuit(com.apple.eawt.ApplicationEvent ae)
Specified by:
handleQuit in interface com.apple.eawt.ApplicationListener

handleReOpenApplication

public void handleReOpenApplication(com.apple.eawt.ApplicationEvent arg0)
Specified by:
handleReOpenApplication in interface com.apple.eawt.ApplicationListener