public abstract class ClientTaskAction<C extends ClientContext> extends TaskAction<C> implements ClientObject<C>
TaskAction which is connection sensitive.
It automatically disables when the connection to the server was lost.| Constructor and Description |
|---|
ClientTaskAction(C clientCtx,
NlsActionKey nls) |
ClientTaskAction(C clientCtx,
NlsActionKey nls,
IconKey icon) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkEnableCondition()
This condition is evaluated automatically after construction.
|
C |
getClientContext()
Returns the the client runtime environment
|
boolean |
isOffline() |
boolean |
isOnline() |
actionFired, actionPrepare, cancel, cancelAndWait, createProgressBar, createTask, getActionCancel, getCurrentTask, setTask, taskCancelled, taskFailed, taskFinished, taskStarted, taskSucceededactionConfirmed, actionDenied, actionFailed, actionPerformed, actionSucceeded, 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 ClientTaskAction(C clientCtx, NlsActionKey nls)
public ClientTaskAction(C clientCtx, NlsActionKey nls, IconKey icon)
protected boolean checkEnableCondition()
ZActioncheckEnableCondition in class TaskAction<C extends ClientContext>public boolean isOnline()
public boolean isOffline()
public final C getClientContext()
ClientObjectgetClientContext in interface ClientObject<C extends ClientContext>Copyright © 2014 EsprIT-Systems. All Rights Reserved.