Package io.jmix.flowui.action.screen
Class ScreenCloseAction
java.lang.Object
io.jmix.flowui.kit.action.AbstractAction
io.jmix.flowui.kit.action.BaseAction
io.jmix.flowui.action.SecuredBaseAction
io.jmix.flowui.action.screen.ScreenAction<A,S>
io.jmix.flowui.action.screen.OperationResultScreenAction<ScreenCloseAction,Screen>
io.jmix.flowui.action.screen.ScreenCloseAction
- All Implemented Interfaces:
ExecutableAction
,OperationResultAction
,SecuredAction
,TargetAction<Screen>
,Action
@ActionType("screen_close")
public class ScreenCloseAction
extends OperationResultScreenAction<ScreenCloseAction,Screen>
-
Field Summary
Fields inherited from class io.jmix.flowui.action.screen.OperationResultScreenAction
failHandler, nextStepSupplier, operationResult, successHandler
Fields inherited from class io.jmix.flowui.action.screen.ScreenAction
target
Fields inherited from class io.jmix.flowui.action.SecuredBaseAction
enabledByUiPermissions, visibleByUiPermissions
Fields inherited from class io.jmix.flowui.kit.action.BaseAction
enabledExplicitly, visibleExplicitly
Fields inherited from class io.jmix.flowui.kit.action.AbstractAction
description, enabled, eventBus, icon, id, shortcutCombination, text, variant, visible
Fields inherited from interface io.jmix.flowui.kit.action.Action
PROP_DESCRIPTION, PROP_ENABLED, PROP_ICON, PROP_SHORTCUT, PROP_TEXT, PROP_VARIANT, PROP_VISIBLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
Executes theAction
protected void
protected void
setFlowUiScreenProperties
(FlowUiScreenProperties flowUiScreenProperties) protected void
setMessages
(Messages messages) void
setOutcome
(StandardOutcome outcome) withOutcome
(StandardOutcome outcome) Methods inherited from class io.jmix.flowui.action.screen.OperationResultScreenAction
getOperationResult, setFailHandler, setNextStepSupplier, setSuccessHandler, withFailHandler, withNextStepSupplier, withSuccessHandler
Methods inherited from class io.jmix.flowui.action.screen.ScreenAction
actionPerform, checkTarget, getTarget, isApplicable, setTarget, withEnabled, withEnabledByUiPermissions, withHandler, withIcon, withIcon, withShortcutCombination, withTarget, withText, withTitle, withVariant, withVisible, withVisibleByUiPermissions
Methods inherited from class io.jmix.flowui.action.SecuredBaseAction
isEnabledByUiPermissions, isPermitted, isVisibleByUiPermissions, refreshState, setEnabledByUiPermissions, setVisibleByUiPermissions
Methods inherited from class io.jmix.flowui.kit.action.BaseAction
addActionPerformedListener, setEnabled, setEnabledInternal, setVisible, setVisibleInternal
Methods inherited from class io.jmix.flowui.kit.action.AbstractAction
addPropertyChangeListener, firePropertyChange, getDescription, getEventBus, getIcon, getId, getShortcutCombination, getText, getVariant, hasListener, isEnabled, isVisible, setDescription, setIcon, setShortcutCombination, setText, setVariant
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.flowui.kit.action.Action
actionPerform, addPropertyChangeListener, getDescription, getIcon, getId, getShortcutCombination, getText, getVariant, isEnabled, isVisible, refreshState, setDescription, setEnabled, setIcon, setShortcutCombination, setText, setVariant, setVisible
-
Field Details
-
ID
- See Also:
-
outcome
-
-
Constructor Details
-
ScreenCloseAction
public ScreenCloseAction() -
ScreenCloseAction
-
-
Method Details
-
initAction
protected void initAction()- Overrides:
initAction
in classScreenAction<ScreenCloseAction,
Screen>
-
setMessages
-
setFlowUiScreenProperties
-
setOutcome
-
withOutcome
-
execute
public void execute()Description copied from interface:ExecutableAction
Executes theAction
- Specified by:
execute
in interfaceExecutableAction
- Overrides:
execute
in classOperationResultScreenAction<ScreenCloseAction,
Screen>
-