Package io.jmix.flowui.view.impl
Class ViewActionsImpl
java.lang.Object
io.jmix.flowui.view.impl.ViewActionsImpl
- All Implemented Interfaces:
- HasActions,- ViewActions
@Component("flowui_ViewActions")
@Scope("prototype")
public class ViewActionsImpl
extends Object
implements ViewActions
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionViewActionsImpl(ActionBinder<View<?>> actionBinder) Deprecated, for removal: This API element is subject to removal in a future version.ViewActionsImpl(View<?> view) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidprotected voidaddActionInternal(Action action, int index) protected voidaddShortcutListenerIfNeeded(Action action) protected voidattachAction(Action action) protected voiddetachAction(Action action) protected View<?>getView()voidremoveAction(Action action) protected voidremoveActionInternal(Action action) protected voidremoveShortcutListener(Action action) protected <C extends com.vaadin.flow.component.Component>
 com.vaadin.flow.component.ShortcutRegistrationshortcutHandler(C viewLayout, com.vaadin.flow.component.ShortcutEventListener shortcutEventListener, KeyCombination keyCombination) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.flowui.kit.component.HasActionsaddAction, removeAction, removeAllActions
- 
Field Details- 
view
- 
actions
- 
actionShortcutBinding
- 
actionBinder
 
- 
- 
Constructor Details- 
ViewActionsImpl
- 
ViewActionsImpl@Deprecated(since="2.2", forRemoval=true) public ViewActionsImpl(ActionBinder<View<?>> actionBinder) Deprecated, for removal: This API element is subject to removal in a future version.UseViewActionsImpl(View)instead
 
- 
- 
Method Details- 
addAction- Specified by:
- addActionin interface- HasActions
 
- 
addActionInternal
- 
removeAction- Specified by:
- removeActionin interface- HasActions
 
- 
removeActionInternal
- 
getActions- Specified by:
- getActionsin interface- HasActions
 
- 
getAction- Specified by:
- getActionin interface- HasActions
 
- 
getActionInternal
- 
shortcutHandlerprotected <C extends com.vaadin.flow.component.Component> com.vaadin.flow.component.ShortcutRegistration shortcutHandler(C viewLayout, com.vaadin.flow.component.ShortcutEventListener shortcutEventListener, KeyCombination keyCombination) 
- 
getView
- 
attachAction
- 
addShortcutListenerIfNeeded
- 
removeShortcutListener
- 
detachAction
- 
getActionShortcutBinding
 
- 
ViewActionsImpl(View)instead