org.gscg.gameleader.dialogs.actor.actions
Class UpdateStockAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byorg.gscg.gameleader.dialogs.actor.actions.UpdateStockAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class UpdateStockAction
extends javax.swing.AbstractAction

The UpdateStockAction is invoked whenever a game administrator would like to update the stock of a product of a supplychain actor.

Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl . The source code and binary code of this software is proprietary information of Delft University of Technology.

Since:
1.0.0
Version:
$Revision: 1.1 $ $Date: 2005/06/16 12:34:10 $
Author:
Stijn-Pieter van Houten
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
UpdateStockAction(StockPanel stockPanel, java.lang.String name, nl.tudelft.simulation.supplychain.product.Product product)
          constructs a new SendAction
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent actionEvent)
           
 
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

UpdateStockAction

public UpdateStockAction(StockPanel stockPanel,
                         java.lang.String name,
                         nl.tudelft.simulation.supplychain.product.Product product)
constructs a new SendAction

Parameters:
stockPanel - the stock panel
name - the name of the action
product - the product
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent actionEvent)
See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)


Copyright © 2002-2005 Delft University of Technology, the Netherlands. All Rights Reserved.