Class ActionBinder<H extends com.vaadin.flow.component.Component>

java.lang.Object
io.jmix.flowui.action.binder.ActionBinder<H>

@Deprecated(since="2.2", forRemoval=true) @Component("flowui_ActionBinder") @Scope("prototype") public class ActionBinder<H extends com.vaadin.flow.component.Component> extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
  • Field Details

    • holder

      protected final H extends com.vaadin.flow.component.Component holder
      Deprecated, for removal: This API element is subject to removal in a future version.
    • actions

      protected final List<Action> actions
      Deprecated, for removal: This API element is subject to removal in a future version.
    • bindingsMap

      protected final com.google.common.collect.Multimap<Action,ActionBinding> bindingsMap
      Deprecated, for removal: This API element is subject to removal in a future version.
    • actionBindingProcessor

      protected ActionBindingProcessor actionBindingProcessor
      Deprecated, for removal: This API element is subject to removal in a future version.
    • actionsHolderProcessor

      protected ActionsHolderBindingProcessor actionsHolderProcessor
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • ActionBinder

      protected ActionBinder(H holder)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • setActionBindingProcessor

      @Autowired public void setActionBindingProcessor(ActionBindingProcessor actionBindingProcessor)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setActionsHolderProcessor

      @Autowired public void setActionsHolderProcessor(ActionsHolderBindingProcessor actionsHolderProcessor)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getHolder

      public H getHolder()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • addAction

      public void addAction(Action action)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • addAction

      public void addAction(Action action, int index)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • removeAction

      public void removeAction(Action action)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getAction

      public Optional<Action> getAction(String id)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • indexOf

      public int indexOf(Action action)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getActions

      public Collection<Action> getActions()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getBindings

      public Collection<ActionBinding> getBindings(Action action)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getBindings

      public Collection<ActionBinding> getBindings(com.vaadin.flow.component.Component component)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createActionBinding

      public <A extends Action> ActionBinding<H,A> createActionBinding(A action, BiFunction<H,com.vaadin.flow.component.ComponentEventListener,com.vaadin.flow.shared.Registration> handler)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createActionBinding

      public <A extends Action> ActionBinding<H,A> createActionBinding(A action, BiFunction<H,com.vaadin.flow.component.ComponentEventListener,com.vaadin.flow.shared.Registration> handler, boolean overrideComponentProperties)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createShortcutActionBinding

      public <A extends Action> ShortcutActionBinding<H,A> createShortcutActionBinding(A action, ShortcutActionHandler<H> handler)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createShortcutActionBinding

      public <A extends Action> ShortcutActionBinding<H,A> createShortcutActionBinding(A action, ShortcutActionHandler<H> handler, boolean overrideComponentProperties)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createActionsHolderBinding

      public <A extends Action, C extends com.vaadin.flow.component.Component> ActionsHolderBinding<H,A,C> createActionsHolderBinding(A action, C component, BiFunction<C,com.vaadin.flow.component.ComponentEventListener,com.vaadin.flow.shared.Registration> handler)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createActionsHolderBinding

      public <A extends Action, C extends com.vaadin.flow.component.Component> ActionsHolderBinding<H,A,C> createActionsHolderBinding(A action, C component, BiFunction<C,com.vaadin.flow.component.ComponentEventListener,com.vaadin.flow.shared.Registration> handler, int index)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createShortcutActionsHolderBinding

      public <A extends Action, C extends com.vaadin.flow.component.Component> ShortcutActionsHolderBinding<H,A,C> createShortcutActionsHolderBinding(A action, C component, ShortcutActionHandler<C> handler)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createShortcutActionsHolderBinding

      public <A extends Action, C extends com.vaadin.flow.component.Component> ShortcutActionsHolderBinding<H,A,C> createShortcutActionsHolderBinding(A action, C component, ShortcutActionHandler<C> handler, int index)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • addBindingInternal

      protected void addBindingInternal(ActionBinding binding, int index)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • addActionInternal

      protected void addActionInternal(Action action, int index)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • findActionIndexById

      protected int findActionIndexById(String actionId)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • removeBindingInternal

      protected void removeBindingInternal(ActionBinding binding)
      Deprecated, for removal: This API element is subject to removal in a future version.