nl.tudelft.simulation.dsol.gui.menu.actions
Class ViewContextAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by nl.tudelft.simulation.dsol.gui.menu.actions.ViewContextAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class ViewContextAction
extends AbstractAction

The ViewContext action
(c) copyright 2002-2005 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser General Public License (LGPL) , no warranty.

Version:
$Revision: 1.1 $ $Date: 2007/01/06 13:23:34 $
Author:
Peter Jacobs
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, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
ViewContextAction(DSOLApplicationInterface application)
          constructs a new ViewContextAction
ViewContextAction(EventContext context, DSOLApplicationInterface application)
          constructs a new ViewContextAction
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 
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

ViewContextAction

public ViewContextAction(DSOLApplicationInterface application)
                  throws NamingException
constructs a new ViewContextAction

Parameters:
application - the application
Throws:
NamingException - on failure

ViewContextAction

public ViewContextAction(EventContext context,
                         DSOLApplicationInterface application)
constructs a new ViewContextAction

Parameters:
context - the specific context to view
application - the application
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
See Also:
#actionPerformed(java.awt.event.ActionEvent)


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