cdox.gui.action
Class InsertAction

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

public class InsertAction
extends CDoxAction
implements CDCoverStandards

This class handles the InsertActions.

Version:
August 21st 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 cdox.edit.CDCoverStandards
ALL, CDBACK_SIDE, CDBACK_SIDE_SIZE, CDBACK_SIZE, CDBOOKLET, CDBOOKLET_SIZE, CDFRONT, CDFRONT_SIZE, CDSIDE_SIZE, CDX, GIF, JPG, PNG
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
InsertAction(CDoxFrame cF, java.lang.String name, java.lang.String tooltip)
          The InsertAction 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 InsertActions.
 
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

InsertAction

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

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

actionPerformed

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

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
e - an ActionEvent generated by a pressed toolBar Button or a selected EditmenuItem.