Class MacAdapter
java.lang.Object
MacAdapter
- All Implemented Interfaces:
- com.apple.eawt.ApplicationListener, PlugIn, Runnable, EventListener
public class MacAdapter
- extends Object
- implements PlugIn, com.apple.eawt.ApplicationListener, Runnable
This Mac specific plugin handles the "About" and "Quit" items in the Apple menu and opens
files dropped on ImageJ and files with creator code "imgJ" that are double-clicked.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MacAdapter
public MacAdapter()
run
public void run(String arg)
- Description copied from interface:
PlugIn
- This method is called when the plugin is loaded.
'arg', which may be blank, is the argument specified
for this plugin in IJ_Props.txt.
- Specified by:
run in interface PlugIn
handleAbout
public void handleAbout(com.apple.eawt.ApplicationEvent event)
- Specified by:
handleAbout in interface com.apple.eawt.ApplicationListener
handleOpenFile
public void handleOpenFile(com.apple.eawt.ApplicationEvent event)
- Specified by:
handleOpenFile in interface com.apple.eawt.ApplicationListener
handlePreferences
public void handlePreferences(com.apple.eawt.ApplicationEvent event)
- Specified by:
handlePreferences in interface com.apple.eawt.ApplicationListener
handleQuit
public void handleQuit(com.apple.eawt.ApplicationEvent event)
- Specified by:
handleQuit in interface com.apple.eawt.ApplicationListener
run
public void run()
- Specified by:
run in interface Runnable
handleOpenApplication
public void handleOpenApplication(com.apple.eawt.ApplicationEvent event)
- Specified by:
handleOpenApplication in interface com.apple.eawt.ApplicationListener
handleReOpenApplication
public void handleReOpenApplication(com.apple.eawt.ApplicationEvent event)
- Specified by:
handleReOpenApplication in interface com.apple.eawt.ApplicationListener
handlePrintFile
public void handlePrintFile(com.apple.eawt.ApplicationEvent event)
- Specified by:
handlePrintFile in interface com.apple.eawt.ApplicationListener
Copyright © 1997–2015 NIH. All rights reserved.