net.chaosserver.jtunes.macui
Class MacApplicationListener
java.lang.Object
|
+--com.apple.eawt.ApplicationAdapter
|
+--net.chaosserver.jtunes.macui.MacApplicationListener
- All Implemented Interfaces:
- com.apple.eawt.ApplicationListener, EventListener
- public class MacApplicationListener
- extends com.apple.eawt.ApplicationAdapter
Listener for OSX specific events on the system.
Method Summary |
void |
handleOpenFile(com.apple.eawt.ApplicationEvent evt)
Handles an open file event. |
void |
handleQuit(com.apple.eawt.ApplicationEvent evt)
Handles the quit operation by firing an ApplicationQuitEvent. |
Methods inherited from class com.apple.eawt.ApplicationAdapter |
handleAbout, handleOpenApplication, handlePreferences, handlePrintFile |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MacApplicationListener
public MacApplicationListener()
handleQuit
public void handleQuit(com.apple.eawt.ApplicationEvent evt)
- Handles the quit operation by firing an ApplicationQuitEvent.
- Specified by:
handleQuit
in interface com.apple.eawt.ApplicationListener
- Overrides:
handleQuit
in class com.apple.eawt.ApplicationAdapter
- Parameters:
evt
- a Quit Application event
handleOpenFile
public void handleOpenFile(com.apple.eawt.ApplicationEvent evt)
- Handles an open file event.
- Specified by:
handleOpenFile
in interface com.apple.eawt.ApplicationListener
- Overrides:
handleOpenFile
in class com.apple.eawt.ApplicationAdapter
- Parameters:
evt
- an Open Document event with reference to the file to be opened
Copyright ?? 20030801