easik.ui.menu
Class AddSumConstraintAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by easik.ui.menu.AddSumConstraintAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class AddSumConstraintAction
extends javax.swing.AbstractAction

The menu action which creates simple sum constraints.

Version:
2006-05-23 Kevin Green
Author:
Rob Fletcher 2005, Kevin Green 2006
See Also:
Serialized Form

Field Summary
 
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
AddSumConstraintAction()
          Creates and initializes the menu option.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Creates a sum constraint if the selection allows that.
 
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

AddSumConstraintAction

public AddSumConstraintAction()
Creates and initializes the menu option.

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Creates a sum constraint if the selection allows that.

Parameters:
e - The action event