public class TaskCancelAction<C extends ApplicationContext> extends ZAction<C>
AsyncTask running with a SwingTaskMonitor.
It will enable if the task is actually running and is in fact cancellable.| Constructor and Description |
|---|
TaskCancelAction(C ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
actionFired(java.awt.event.ActionEvent e)
Is called when the action is fired.
|
void |
setMonitor(SwingTaskMonitor newMonitor) |
actionConfirmed, actionDenied, actionFailed, actionPerformed, actionPrepare, actionSucceeded, checkEnableCondition, fire, getApplicationContext, getButtonText, getIcon, getLogChannel, getMenuText, getName, getPressedIcon, getTipText, isForced, isHandleError, isLogDebug, isLogVerbose, isPermitted, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, performAvailabilityCheck, setBusyAnimationEnabled, setHandleError, setIcon, setIcon, setLogChannel, setName, setPressedIcon, setPressedIcon, setText, setTipText, setValidator, showError, showError, showError, showInfo, showInfo, showWarning, showWarning, toStringpublic TaskCancelAction(C ctx)
protected void actionFired(java.awt.event.ActionEvent e)
throws java.lang.Exception
ZActionactionFired in class ZAction<C extends ApplicationContext>java.lang.Exceptionpublic void setMonitor(SwingTaskMonitor newMonitor)
Copyright © 2014 EsprIT-Systems. All Rights Reserved.