Class CloseAllTabsAction
java.lang.Object
io.jmix.flowui.kit.action.AbstractAction
io.jmix.flowui.kit.action.BaseAction
io.jmix.tabbedmode.action.tabsheet.TabbedViewsContainerAction<A>
io.jmix.tabbedmode.action.tabsheet.AbstractCloseTabsAction<CloseAllTabsAction>
io.jmix.tabbedmode.action.tabsheet.CloseAllTabsAction
- All Implemented Interfaces:
TargetAction<TabbedViewsContainer<?>>
,Action
,HasShortcutCombination
@ActionType("tabmod_closeAllTabs")
public class CloseAllTabsAction
extends AbstractCloseTabsAction<CloseAllTabsAction>
Closes all tabs.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
protected com.vaadin.flow.shared.Registration
Fields inherited from class io.jmix.tabbedmode.action.tabsheet.TabbedViewsContainerAction
target
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_COMBINATION, PROP_TEXT, PROP_VARIANT, PROP_VISIBLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
attachListeners
(TabbedViewsContainer<?> target) protected void
detachListeners
(TabbedViewsContainer<?> target) void
execute
(com.vaadin.flow.component.Component trigger) protected boolean
protected void
setMessages
(Messages messages) protected void
setTabbedModeProperties
(TabbedModeProperties properties) Methods inherited from class io.jmix.tabbedmode.action.tabsheet.AbstractCloseTabsAction
asViewStack, closeViewStacks, isApplicable
Methods inherited from class io.jmix.tabbedmode.action.tabsheet.TabbedViewsContainerAction
actionPerform, checkTarget, findActionTab, findTab, getTarget, initAction, setTarget, withEnabled, withHandler, withIcon, withIcon, withShortcutCombination, withTarget, withText, withTitle, withVariant, withVisible
Methods inherited from class io.jmix.flowui.kit.action.BaseAction
addActionPerformedListener, refreshState, setEnabled, setEnabledInternal, setVisible, setVisibleInternal, withDescription
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
addPropertyChangeListener, getDescription, getIcon, getId, getText, getVariant, isEnabled, isVisible, refreshState, setDescription, setEnabled, setIcon, setText, setVariant, setVisible
Methods inherited from interface io.jmix.flowui.kit.component.HasShortcutCombination
getShortcutCombination, setShortcutCombination
-
Field Details
-
ID
- See Also:
-
tabsCollectionChangeListener
protected com.vaadin.flow.shared.Registration tabsCollectionChangeListener
-
-
Constructor Details
-
CloseAllTabsAction
public CloseAllTabsAction() -
CloseAllTabsAction
-
-
Method Details
-
setMessages
-
setTabbedModeProperties
-
detachListeners
- Overrides:
detachListeners
in classTabbedViewsContainerAction<CloseAllTabsAction>
-
attachListeners
- Overrides:
attachListeners
in classTabbedViewsContainerAction<CloseAllTabsAction>
-
hasCloseableTabs
protected boolean hasCloseableTabs()- Specified by:
hasCloseableTabs
in classAbstractCloseTabsAction<CloseAllTabsAction>
-
execute
public void execute(@Nullable com.vaadin.flow.component.Component trigger) - Specified by:
execute
in classTabbedViewsContainerAction<CloseAllTabsAction>
-