Class ViewActionsImpl

java.lang.Object
io.jmix.flowui.view.impl.ViewActionsImpl
All Implemented Interfaces:
ViewActions

@Component("flowui_ViewActions") @Scope("prototype") public class ViewActionsImpl extends Object implements ViewActions
  • Field Details

    • view

      protected View<?> view
    • actions

      protected List<Action> actions
    • actionShortcutBinding

      protected Map<Action,com.vaadin.flow.component.ShortcutRegistration> actionShortcutBinding
    • actionBinder

      protected ActionBinder<View<?>> actionBinder
  • Constructor Details

  • Method Details

    • addAction

      public void addAction(Action action, int index)
      Specified by:
      addAction in interface ViewActions
    • addActionInternal

      protected void addActionInternal(Action action, int index)
    • removeAction

      public void removeAction(Action action)
      Specified by:
      removeAction in interface ViewActions
    • removeActionInternal

      protected void removeActionInternal(Action action)
    • getActions

      public Collection<Action> getActions()
      Specified by:
      getActions in interface ViewActions
    • getAction

      @Nullable public Action getAction(String id)
      Specified by:
      getAction in interface ViewActions
    • getActionInternal

      protected Optional<Action> getActionInternal(String id)
    • shortcutHandler

      protected <C extends com.vaadin.flow.component.Component> com.vaadin.flow.component.ShortcutRegistration shortcutHandler(C viewLayout, com.vaadin.flow.component.ShortcutEventListener shortcutEventListener, KeyCombination keyCombination)
    • getView

      protected View<?> getView()
    • attachAction

      protected void attachAction(Action action)
    • addShortcutListenerIfNeeded

      protected void addShortcutListenerIfNeeded(Action action)
    • removeShortcutListener

      protected void removeShortcutListener(Action action)
    • detachAction

      protected void detachAction(Action action)
    • getActionShortcutBinding

      protected Map<Action,com.vaadin.flow.component.ShortcutRegistration> getActionShortcutBinding()