Class FrameActionsHolder

java.lang.Object
io.jmix.ui.component.impl.FrameActionsHolder
All Implemented Interfaces:
com.vaadin.event.Action.Handler, Serializable

public class FrameActionsHolder extends Object implements com.vaadin.event.Action.Handler
Encapsulates ActionsHolder functionality for web frames and windows.
See Also:
  • Field Details

    • actionList

      protected List<Action> actionList
    • actions

      protected com.google.common.collect.BiMap<com.vaadin.event.Action,Action> actions
    • actionSource

      protected Component actionSource
    • actionPropertyChangeListener

      protected Consumer<PropertyChangeEvent> actionPropertyChangeListener
  • Constructor Details

    • FrameActionsHolder

      public FrameActionsHolder(Component actionSource)
  • Method Details

    • addAction

      public void addAction(Action action)
    • addAction

      public void addAction(Action action, int index)
    • actionPropertyChanged

      protected void actionPropertyChanged(PropertyChangeEvent propertyChangeEvent)
    • createShortcutAction

      @Nullable protected com.vaadin.event.ShortcutAction createShortcutAction(Action action)
    • removeAction

      public void removeAction(@Nullable Action action)
    • removeAction

      public void removeAction(String id)
    • removeAllActions

      public void removeAllActions()
    • getActions

      public Collection<Action> getActions()
    • getAction

      @Nullable public Action getAction(String id)
    • getActionImplementations

      public com.vaadin.event.Action[] getActionImplementations()
    • getAction

      @Nullable public Action getAction(com.vaadin.event.Action actionImpl)
    • getActions

      public com.vaadin.event.Action[] getActions(Object target, Object sender)
      Specified by:
      getActions in interface com.vaadin.event.Action.Handler
    • handleAction

      public void handleAction(com.vaadin.event.Action actionImpl, Object sender, Object target)
      Specified by:
      handleAction in interface com.vaadin.event.Action.Handler