cdox.gui.action
Class HelpAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended bycdox.gui.action.CDoxAction
          extended bycdox.gui.action.HelpAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, Configurable, java.util.EventListener, java.io.Serializable

public class HelpAction
extends CDoxAction

This is an inner Class from CDoxFrame, which handles the HelpActions. HelpActions are both in the toolBar and in the HelpMenu "Help".

Version:
May 16th 2002
Author:
Rutger Bezema, Andreas Schmitz
See Also:
Serialized Form

Field Summary
 
Fields inherited from class cdox.gui.action.CDoxAction
cFrame, menuItem
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
HelpAction(CDoxFrame cF, java.lang.String name, java.lang.String tooltip)
          The HelpAction Constructor stores an Image(if available) and a ToolTip(if available).
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          This Method handles all the ControlActions.
 
Methods inherited from class cdox.gui.action.CDoxAction
configure, setMenuItem
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelpAction

public HelpAction(CDoxFrame cF,
                  java.lang.String name,
                  java.lang.String tooltip)
The HelpAction Constructor stores an Image(if available) and a ToolTip(if available).

Parameters:
cF - the CDoxFrame.
name - A String representing the HelpAction's name.
tooltip - A String representing the HelpAction's toolTip.
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
This Method handles all the ControlActions. It if's the name of the ControlAction.

Parameters:
e - an ActionEvent generated by a pressed toolBar Button or a selected ControlmenuItem.