Algernon Software

org.algernon.app.j2p.action
Class Java2ProtegeAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byorg.algernon.app.j2p.action.Java2ProtegeAction
All Implemented Interfaces:
Action, ActionListener, Cloneable, EventListener, Serializable
Direct Known Subclasses:
AddAdviceAction, DeleteAdviceAction, RunConversionAction, SaveAdviceFileAction, SelectAdviceFileAction, SelectAlgernonFileAction, SelectKBFileAction, WriteAlgernonFileAction

public abstract class Java2ProtegeAction
extends AbstractAction

Abstract base class used for AlgernonTab actions. The actions are performed by menu items, buttons and key strokes. User: hewett Date: Mar 7, 2003 Time: 11:50:02 AM To change this template use Options | File Templates.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
protected  J2PWindow f_app
           
 
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
Java2ProtegeAction(J2PWindow tab, String name, String tooltip, KeyStroke acceleratorKey, Integer mnemonic)
          Creates a new Action.
 
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
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Field Detail

f_app

protected J2PWindow f_app
Constructor Detail

Java2ProtegeAction

public Java2ProtegeAction(J2PWindow tab,
                          String name,
                          String tooltip,
                          KeyStroke acceleratorKey,
                          Integer mnemonic)
Creates a new Action. You should only need one.

Parameters:
tab - The AlgernonTab using this action.
name - The name of the menu item corresponding to this action.
tooltip - A string to be displayed as brief user help.
acceleratorKey - The KeyStroke used to access this action as a menu item.
mnemonic - The (int) character used to access this action when it is a button.

Algernon Software