|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.oddjob.monitor.model.JobAction
org.oddjob.monitor.action.ExecuteAction
public class ExecuteAction
An action that executes a job.
| Field Summary |
|---|
| Fields inherited from interface org.oddjob.monitor.actions.ExplorerAction |
|---|
DESIGN_GROUP, ENABLED_PROPERTY, JOB_GROUP, PROPERTY_GROUP, VISIBLE_PROPERTY |
| Constructor Summary | |
|---|---|
ExecuteAction()
|
|
| Method Summary | |
|---|---|
protected void |
doAction()
|
protected void |
doFree(ExplorerContext explorerContext)
|
protected void |
doPrepare(ExplorerContext explorerContext)
|
KeyStroke |
getAcceleratorKey()
Get the Accelerator key for the action. |
String |
getGroup()
Get the group name. |
Integer |
getMnemonicKey()
Get the Mnemonic Key for the action. |
String |
getName()
Get the name for the option. |
void |
jobStateChange(StateEvent event)
Triggered when the job state changes. |
| Methods inherited from class org.oddjob.monitor.model.JobAction |
|---|
action, addPropertyChangeListener, checkPrepare, getExplorerContext, isEnabled, isPrepared, isVisible, prepare, removePropertyChangeListener, setEnabled, setSelectedContext, setVisible |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExecuteAction()
| Method Detail |
|---|
public String getName()
ExplorerAction
getName in interface ExplorerActionpublic String getGroup()
ExplorerAction
getGroup in interface ExplorerActionpublic Integer getMnemonicKey()
ExplorerAction
getMnemonicKey in interface ExplorerActionpublic KeyStroke getAcceleratorKey()
ExplorerAction
getAcceleratorKey in interface ExplorerActionprotected void doPrepare(ExplorerContext explorerContext)
doPrepare in class JobActionprotected void doFree(ExplorerContext explorerContext)
doFree in class JobAction
protected void doAction()
throws Exception
doAction in class JobActionExceptionpublic void jobStateChange(StateEvent event)
StateListener
jobStateChange in interface StateListenerevent - The job state event.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||