public final class DisabledAction extends FormAction
FormAction used to denote a disabled (but present) action.| Constructor and Description |
|---|
DisabledAction() |
| Modifier and Type | Method and Description |
|---|---|
FormResult |
action(Form f)
Perform the actual action based on the form parameters.
|
java.lang.String |
getHelp()
Return an optional help text for this action that can be presented as a tooltip etc.
|
void |
setHelp(java.lang.String help) |
getConfirm, getConfirmMessage, getMustValidate, getShortcut, getText, setConfirm, setConfirmArgs, setMustValidate, setNewWindow, wantNewWindowpublic FormResult action(Form f) throws ActionException
FormActionTransitionException to show an error message to the user.
or a ActionException to produce a generic error message.action in class FormActionf - FormActionExceptionpublic void setHelp(java.lang.String help)
public java.lang.String getHelp()
FormActiongetHelp in class FormAction