Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

MAEPlugin
Class MenuPlugin  view MenuPlugin download MenuPlugin.java

java.lang.Object
  extended byMAEPlugin.MAEPlugin
      extended byMAEPlugin.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: $

Field Summary
 
Fields inherited from class MAEPlugin.MAEPlugin
DBUG_MAEP, jarResources, registryMaxSize
 
Fields inherited from interface MAEPlugin.PluginStub
PLUGIN_VERSION
 
Constructor Summary
MenuPlugin()
          MenuPlugin() - constructor to override to implement the plugin
MenuPlugin(java.lang.String label)
          MenuPlugin() - constructor for menu.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          actionPerformed() - actionListener
 void pluginMain()
          pluginMain() - abstract the method end-users implement to use the API
 
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
 

Constructor Detail

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

Method Detail

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