com.github.croesch.micro_debug.gui.actions
Class ExitAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by com.github.croesch.micro_debug.gui.actions.ExitAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public final class ExitAction
extends AbstractAction

Action to quit the debugger.

Since:
Date: May 14, 2012
Author:
croesch
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
ExitAction(JFrame f, Thread t, com.github.croesch.micro_debug.mic1.Mic1 proc)
          Constructs the action to quit the debugger.
 
Method Summary
 void actionPerformed(ActionEvent e)
          
 void addWindow(Window w)
          Adds the given Window to be disposed in case this action is executed.
 
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

ExitAction

public ExitAction(JFrame f,
                  Thread t,
                  com.github.croesch.micro_debug.mic1.Mic1 proc)
Constructs the action to quit the debugger.

Parameters:
f - the main frame to be disposed on exit
t - the thread running actions outside the EDT
proc - the processor being debugged
Since:
Date: May 14, 2012
Method Detail

addWindow

public void addWindow(Window w)
Adds the given Window to be disposed in case this action is executed.

Parameters:
w - the window to dispose when executing this action.
Since:
Date: Jul 10, 2012

actionPerformed

public void actionPerformed(ActionEvent e)



Copyright © 2012. All Rights Reserved.