public class MoveDateTransition.MoveDateAction extends FormAction
| Constructor and Description |
|---|
MoveDateAction(boolean move_start,
T targ) |
| Modifier and Type | Method and Description |
|---|---|
FormResult |
action(Form f)
Perform the actual action based on the form parameters.
|
java.lang.String |
getConfirm(Form f)
should this action be confirmed before execute
If this returns null no confirm is required.
|
getConfirmMessage, getHelp, getMustValidate, getShortcut, getText, setConfirm, setConfirmArgs, setMustValidate, setNewWindow, wantNewWindowpublic MoveDateAction(boolean move_start,
T targ)
public 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 java.lang.String getConfirm(Form f)
FormAction
The form is passed to allow a sub-class to trigger confirm based on form parameters.
However in this case the implementation must handle an incomplete form.
Note that the message can be set by calling FormAction.setConfirm(String) or
this method can be overidden
getConfirm in class FormActionf - Form calling action.