org.xmlhammer.gui.actions
Class ExecuteAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.bounce.RunnableAction
          extended by org.xmlhammer.gui.actions.ExecuteAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.lang.Runnable, java.util.EventListener, javax.swing.Action, ModuleThreadListener

public class ExecuteAction
extends org.bounce.RunnableAction
implements ModuleThreadListener

An action that can be used to execute a XML Hammer project.

Version:
$Revision: 1.26 $, $Date: 2008/01/21 22:04:44 $
Author:
Edwin Dankert
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
ExecuteAction(XMLHammer parent)
          The constructor for the action which executes a project.
 
Method Summary
 ModuleThread getModuleThread()
           
 void run()
          The implementation of the execute action.
 void setModuleThread(ModuleThread thread)
           
 void threadFinished(ModuleThread thread)
           
 void threadStarted(ModuleThread thread)
           
 
Methods inherited from class org.bounce.RunnableAction
actionPerformed
 
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

ExecuteAction

public ExecuteAction(XMLHammer parent)
The constructor for the action which executes a project.

Parameters:
parent - the parent frame.
Method Detail

run

public void run()
The implementation of the execute action.

Specified by:
run in interface java.lang.Runnable
Specified by:
run in class org.bounce.RunnableAction

getModuleThread

public ModuleThread getModuleThread()

setModuleThread

public void setModuleThread(ModuleThread thread)

threadFinished

public void threadFinished(ModuleThread thread)
Specified by:
threadFinished in interface ModuleThreadListener

threadStarted

public void threadStarted(ModuleThread thread)
Specified by:
threadStarted in interface ModuleThreadListener


Copyright 2005-2005-2008 Edwin Dankert. All Rights Reserved.