java.lang.Object
MAEPlugin.MAEPlugin
MAEPlugin.MenuPlugin
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener, PluginStub
- public abstract class MenuPlugin
- extends MAEPlugin
- implements java.awt.event.ActionListener
This abstract class defines MenuPlugin class.
Created on September 10, 2001, 8:00 AM
This work was produced by Peter Lemkin of the National Cancer
Institute, an agency of the United States Government. As a work of
the United States Government there is no associated copyright. It is
offered as open source software under the Mozilla Public License
(version 1.1) subject to the limitations noted in the accompanying
LEGAL file. This notice must be included with the code. The MAExplorer
Mozilla and Legal files are available on http://maexplorer.sourceforge.net/.
- Version:
- $Date: 2002/10/13 17:39:33 $ / $Revision: $
| Methods inherited from class MAEPlugin.MAEPlugin |
getFlag, getInstance, getMAEStub, getMenuHook, getMenuInsertionPointName, getMenuItem, getNumberPlugins, getPluginDescription, getPluginFileName, getPluginName, getPlugins, menuActivated, pluginHalt, pluginInit, removePlugin, setFlag, setJarResources, setMAEStub, setMenuHook, setMenuInsertionPointName, setMenuItem, setMenuLabel |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MenuPlugin
public MenuPlugin(java.lang.String label)
- MenuPlugin() - constructor for menu. Here we add in actionListeners
to the menu item.
MenuPlugin
public MenuPlugin()
- MenuPlugin() - constructor to override to implement the plugin
actionPerformed
public final void actionPerformed(java.awt.event.ActionEvent e)
- actionPerformed() - actionListener
- Specified by:
actionPerformed in interface java.awt.event.ActionListener
pluginMain
public void pluginMain()
- pluginMain() - abstract the method end-users implement to use
the API
- Specified by:
pluginMain in interface PluginStub- Specified by:
pluginMain in class MAEPlugin