Class AbstractActionsHolderSupport<C extends com.vaadin.flow.component.Component>

java.lang.Object
io.jmix.flowui.kit.component.delegate.AbstractActionsHolderSupport<C>
Direct Known Subclasses:
GenericFilterActionsSupport, GridActionsSupport, ValuePickerActionSupport

public abstract class AbstractActionsHolderSupport<C extends com.vaadin.flow.component.Component> extends Object
  • Field Details

    • component

      protected final C extends com.vaadin.flow.component.Component component
    • actions

      protected List<Action> actions
    • actionShortcutBinding

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

    • AbstractActionsHolderSupport

      public AbstractActionsHolderSupport(C component)
  • Method Details

    • addAction

      public void addAction(Action action)
    • addAction

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

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

      protected void attachAction(Action action)
    • addShortcutListenerIfNeeded

      protected void addShortcutListenerIfNeeded(Action action)
    • removeShortcutListener

      protected void removeShortcutListener(Action action)
    • removeAction

      public void removeAction(Action action)
    • removeActionInternal

      protected boolean removeActionInternal(Action action)
    • detachAction

      protected void detachAction(Action action)
    • getAction

      public Optional<Action> getAction(String id)
    • getActions

      public Collection<Action> getActions()
    • getActionShortcutBinding

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