org.ocd.cmdmgr.nativeapp
Class NativeAppAction
java.lang.Object
|
+--javax.swing.AbstractAction
|
+--org.ocd.cmdmgr.DefaultCmdAction
|
+--org.ocd.cmdmgr.nativeapp.NativeAppAction
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, ICmdAction, IXMLPersistable, java.beans.PropertyChangeListener, java.io.Serializable
- public class NativeAppAction
- extends DefaultCmdAction
- implements java.io.Serializable
- Version:
-
- Author:
- drichan
- See Also:
- Serialized Form
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 |
Fields inherited from interface org.ocd.blx.IXMLPersistable |
BLX_CLASS_NAME_ATTR, BLX_COMP_HEIGHT_ATTR, BLX_COMP_ID, BLX_COMP_NODE_NAME, BLX_COMP_WIDTH_ATTR, BLX_COMP_X_ATTR, BLX_COMP_Y_ATTR, BLX_DOCUMENT_NAME, BLX_EXT_HREF_ATTR, BLX_EXT_VERSION_ATTR, BLX_EXTENSION_ATTR, BLX_FACTORY_NODE_NAME, BLX_FACTORY_TYPE_ATTR, BLX_HREF_ATTR, BLX_NS, BLX_OBJ_NODE_NAME, COMP_TYPE, COMPONENT_FACTORY_TYPE, COMPONENT_FACTORY_TYPE_STR, FACTORY_TYPE, FILE_EXT, OBJECT_FACTORY_TYPE, OBJECT_FACTORY_TYPE_STR, OBJECT_TYPE |
Methods inherited from class org.ocd.cmdmgr.DefaultCmdAction |
actionPerformed, getBLXElement, getDescription, getName, getXMLElement, propertyChange, setBLXElement, setDescription, setName, setXMLHasChanged, xmlHasChanged |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.swing.Action |
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
NativeAppAction
public NativeAppAction()
- Create the Action
NativeAppAction
public NativeAppAction(java.lang.String pCommand)
- Create the Action for a Command
- Parameters:
pCommand
- to use
setCommand
public void setCommand(java.lang.String pCmd)
- Set the URL for this Web Site
- Parameters:
URLString
-
getCommand
public java.lang.String getCommand()
- Get the URL for this Web Site
- Returns:
- URLString
isStarted
public boolean isStarted()
- Return true if the Action is Already Started
- Overrides:
isStarted
in class DefaultCmdAction
- Returns:
- boolean
start
public ICmdAction start()
throws ActionStartException
- Start the Task
stop
public void stop()
throws ActionStopException
- Stop the Task
destroy
public void destroy()
- Destroy the Task.
Clean up any resources
getFactory
public ICmdFactory getFactory()
- Get the Factory that created this Command
- Overrides:
getFactory
in class DefaultCmdAction