Package io.jmix.ui.action
Interface Action.MainTabSheetAction
- All Superinterfaces:
Action
- All Known Implementing Classes:
EditorScreenShowEntityInfoAction
- Enclosing interface:
- Action
An action that can be used as Main TabSheet context menu item.
-
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 TypeMethodDescriptionvoid
Executes thisAction
for the given screen.boolean
isApplicable
(Screen screen) Determines whether this action is applicable for the given screen.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
-
isApplicable
Determines whether this action is applicable for the given screen.- Parameters:
screen
- a screen for which the applicable state is determined- Returns:
true
if this action is applicable for the given screen,false
otherwise
-
execute
Executes thisAction
for the given screen.- Parameters:
screen
- a screen for which this action is executed
-