Package io.jmix.flowui.action.binder
Class ActionsHolderBindingProcessor
java.lang.Object
io.jmix.flowui.action.binder.ActionsHolderBindingProcessor
@Component("flowui_ActionsHolderBindingProcessor")
public class ActionsHolderBindingProcessor
extends Object
-
Field Summary
Modifier and TypeFieldDescriptionprotected List<ComponentActionsHolderBinder>
protected List<ComponentActionsHolderUnbinder>
protected List<ComponentShortcutActionsHolderBinder>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<H extends com.vaadin.flow.component.Component,
A extends Action, C extends com.vaadin.flow.component.Component>
ActionsHolderBinding<H,A, C> bind
(ActionBinder<H> binder, A action, C component, BiFunction<C, com.vaadin.flow.component.ComponentEventListener, com.vaadin.flow.shared.Registration> handler) <H extends com.vaadin.flow.component.Component,
A extends Action, C extends com.vaadin.flow.component.Component>
ShortcutActionsHolderBinding<H,A, C> bindShortcut
(ActionBinder<H> binder, A action, C component, ShortcutActionHandler<C> handler) protected ComponentActionsHolderBinder
getActionsHolderBinder
(com.vaadin.flow.component.Component component) protected ComponentActionsHolderUnbinder
getActionsHolderUnbinder
(com.vaadin.flow.component.Component component) protected ComponentShortcutActionsHolderBinder
getShortcutActionsHolderBinder
(com.vaadin.flow.component.Component component) void
setActionsHolderBinders
(List<ComponentActionsHolderBinder> actionsHolderBinders) void
setActionsHolderUnbinders
(List<ComponentActionsHolderUnbinder> actionsHolderUnbinders) void
setShortcutActionsHolderBinders
(List<ComponentShortcutActionsHolderBinder> shortcutActionsHolderBinders) void
unbind
(ActionsHolderBinding binding)
-
Field Details
-
actionsHolderBinders
-
shortcutActionsHolderBinders
-
actionsHolderUnbinders
-
-
Constructor Details
-
ActionsHolderBindingProcessor
public ActionsHolderBindingProcessor()
-
-
Method Details
-
setActionsHolderBinders
@Autowired(required=false) public void setActionsHolderBinders(List<ComponentActionsHolderBinder> actionsHolderBinders) -
setShortcutActionsHolderBinders
@Autowired(required=false) public void setShortcutActionsHolderBinders(List<ComponentShortcutActionsHolderBinder> shortcutActionsHolderBinders) -
setActionsHolderUnbinders
@Autowired(required=false) public void setActionsHolderUnbinders(List<ComponentActionsHolderUnbinder> actionsHolderUnbinders) -
bind
public <H extends com.vaadin.flow.component.Component,A extends Action, ActionsHolderBinding<H,C extends com.vaadin.flow.component.Component> A, bindC> (ActionBinder<H> binder, A action, C component, BiFunction<C, com.vaadin.flow.component.ComponentEventListener, com.vaadin.flow.shared.Registration> handler) -
bindShortcut
public <H extends com.vaadin.flow.component.Component,A extends Action, ShortcutActionsHolderBinding<H,C extends com.vaadin.flow.component.Component> A, bindShortcutC> (ActionBinder<H> binder, A action, C component, ShortcutActionHandler<C> handler) -
unbind
-
getActionsHolderBinder
@Nullable protected ComponentActionsHolderBinder getActionsHolderBinder(com.vaadin.flow.component.Component component) -
getShortcutActionsHolderBinder
@Nullable protected ComponentShortcutActionsHolderBinder getShortcutActionsHolderBinder(com.vaadin.flow.component.Component component) -
getActionsHolderUnbinder
@Nullable protected ComponentActionsHolderUnbinder getActionsHolderUnbinder(com.vaadin.flow.component.Component component)
-