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

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

public class OpenFileAction
extends AbstractAction
implements EventListenerInterface

The OpenFile 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:33 $
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
OpenFileAction(DSOLApplicationInterface application)
          constructs a new OpenFileAction
 
Method Summary
 void actionPerformed(ActionEvent event)
           
protected  void finalize()
           
 void notify(EventInterface event)
           
 
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, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenFileAction

public OpenFileAction(DSOLApplicationInterface application)
constructs a new OpenFileAction

Parameters:
application - the parent application
Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)
Specified by:
actionPerformed in interface ActionListener
See Also:
#actionPerformed(java.awt.event.ActionEvent)

notify

public void notify(EventInterface event)
Specified by:
notify in interface EventListenerInterface
See Also:
#notify(nl.tudelft.simulation.event.EventInterface)

finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable
See Also:
Object.finalize()


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