org.ocd.cmdmgr
Interface ICmdAction

All Superinterfaces:
javax.swing.Action, java.awt.event.ActionListener, java.util.EventListener
All Known Implementing Classes:
DefaultCmdAction

public interface ICmdAction
extends javax.swing.Action

Since:
$Date: 2002/03/29 08:01:12 $
Version:
$Revision: 1.1 $
Author:
$Author: ocd_dino $, ocd_dino - ocd_dino@users.sourceforge.net (initial author)

Field Summary
static java.lang.String LARGE_ICON
           
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Method Summary
 void destroy()
          Destroy the Cmd.
 boolean isStarted()
          Return true if the Action is Already Started
 ICmdAction start()
          Start the Cmd
 void stop()
          Stop the Task
 
Methods inherited from interface javax.swing.Action
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Field Detail

LARGE_ICON

public static final java.lang.String LARGE_ICON
Method Detail

isStarted

public boolean isStarted()
Return true if the Action is Already Started
Returns:
boolean

start

public ICmdAction start()
                 throws ActionStartException
Start the Cmd

stop

public void stop()
          throws ActionStopException
Stop the Task

destroy

public void destroy()
Destroy the Cmd. Clean up any resources