Package io.jmix.ui.action
Interface Action.OperationResultAction
- All Superinterfaces:
Action
- All Known Implementing Classes:
EditorCloseAction,EditorCommitAction,EditorCommitAndCloseAction,EditorDiscardAction,EditorEnableEditingAction,LookupDiscardAction,LookupSelectAction,MasterDetailCancelAction,MasterDetailCommitAction,OperationResultScreenAction,ScreenCloseAction
- Enclosing interface:
- Action
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.action.Action
Action.ActionPerformedEvent, Action.AdjustWhenScreenReadOnly, Action.ExecutableAction, Action.HasPrimaryState, Action.HasSecurityConstraint, Action.HasTarget, Action.MainTabSheetAction, Action.OperationResultAction, Action.ScreenAction<S extends Screen>, Action.ScreenOpeningAction, Action.SecuredAction, Action.Status -
Field Summary
Fields inherited from interface io.jmix.ui.action.Action
PROP_CAPTION, PROP_DESCRIPTION, PROP_ENABLED, PROP_ICON, PROP_SHORTCUT, PROP_VISIBLE -
Method Summary
Modifier and TypeMethodDescriptionvoidsetFailHandler(Runnable failHandler) voidsetNextStepSupplier(Supplier<OperationResult> nextStepSupplier) voidsetSuccessHandler(Runnable successHandler) Methods inherited from interface io.jmix.ui.action.Action
actionPerform, addOwner, addPropertyChangeListener, getCaption, getDescription, getIcon, getId, getOwner, getOwners, getShortcutCombination, isEnabled, isVisible, refreshState, removeOwner, removePropertyChangeListener, setCaption, setDescription, setEnabled, setIcon, setShortcut, setShortcutCombination, setVisible
-
Method Details
-
getOperationResult
OperationResult getOperationResult() -
setNextStepSupplier
-
setSuccessHandler
-
setFailHandler
-