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

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

@Component("flowui_ActionBinder") @Scope("prototype") public class ActionBinder<H extends com.vaadin.flow.component.Component> extends Object
  • Field Details

  • Constructor Details

    • ActionBinder

      protected ActionBinder(H holder)
  • Method Details

    • setActionBindingProcessor

      @Autowired public void setActionBindingProcessor(ActionBindingProcessor actionBindingProcessor)
    • setActionsHolderProcessor

      @Autowired public void setActionsHolderProcessor(ActionsHolderBindingProcessor actionsHolderProcessor)
    • getHolder

      public H getHolder()
    • addAction

      public void addAction(Action action)
    • addAction

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

      public void removeAction(Action action)
    • getAction

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

      public int indexOf(Action action)
    • getActions

      public Collection<Action> getActions()
    • getBindings

      public Collection<ActionBinding> getBindings(Action action)
    • getBindings

      public Collection<ActionBinding> getBindings(com.vaadin.flow.component.Component component)
    • createActionBinding

      public <A extends Action> ActionBinding<H,A> createActionBinding(A action, BiFunction<H,com.vaadin.flow.component.ComponentEventListener,com.vaadin.flow.shared.Registration> handler)
    • 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)
    • createShortcutActionBinding

      public <A extends Action> ShortcutActionBinding<H,A> createShortcutActionBinding(A action, ShortcutActionHandler<H> handler)
    • createShortcutActionBinding

      public <A extends Action> ShortcutActionBinding<H,A> createShortcutActionBinding(A action, ShortcutActionHandler<H> handler, boolean overrideComponentProperties)
    • 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)
    • 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)
    • createShortcutActionsHolderBinding

      public <A extends Action, C extends com.vaadin.flow.component.Component> ShortcutActionsHolderBinding<H,A,C> createShortcutActionsHolderBinding(A action, C component, ShortcutActionHandler<C> handler)
    • 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)
    • addBindingInternal

      protected void addBindingInternal(ActionBinding binding, int index)
    • addActionInternal

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

      protected int findActionIndexById(String actionId)
    • removeBindingInternal

      protected void removeBindingInternal(ActionBinding binding)