org.opengts.extra.macosx
Class MacAppListener

java.lang.Object
  extended by com.apple.eawt.ApplicationAdapter
      extended by org.opengts.extra.macosx.MacAppListener
All Implemented Interfaces:
com.apple.eawt.ApplicationListener, java.util.EventListener

public class MacAppListener
extends com.apple.eawt.ApplicationAdapter


Field Summary
static java.lang.String CMD_ABOUT
           
static java.lang.String CMD_PREFERENCES
           
static java.lang.String CMD_QUIT
           
 
Constructor Summary
MacAppListener(java.awt.event.ActionListener al)
           
 
Method Summary
 void handleAbout(com.apple.eawt.ApplicationEvent ae)
           
 void handlePreferences(com.apple.eawt.ApplicationEvent ae)
           
 void handleQuit(com.apple.eawt.ApplicationEvent ae)
           
 
Methods inherited from class com.apple.eawt.ApplicationAdapter
handleOpenApplication, handleOpenFile, handlePrintFile, handleReOpenApplication
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CMD_QUIT

public static final java.lang.String CMD_QUIT
See Also:
Constant Field Values

CMD_ABOUT

public static final java.lang.String CMD_ABOUT
See Also:
Constant Field Values

CMD_PREFERENCES

public static final java.lang.String CMD_PREFERENCES
See Also:
Constant Field Values
Constructor Detail

MacAppListener

public MacAppListener(java.awt.event.ActionListener al)
Method Detail

handleQuit

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

handleAbout

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

handlePreferences

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