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, wantNewWindow
public FormResult action(Form f) throws ActionException
FormAction
TransitionException
to show an error message to the user.
or a ActionException
to produce a generic error message.action
in class FormAction
f
- FormActionException
public void setHelp(java.lang.String help)
public java.lang.String getHelp()
FormAction
getHelp
in class FormAction