Class ComboButtonActionSupport

java.lang.Object
io.jmix.flowui.kit.component.combobutton.ComboButtonActionSupport

public class ComboButtonActionSupport extends Object
  • Field Details

    • comboButton

      protected final ComboButton comboButton
    • action

      protected Action action
    • comboButtonClickRegistration

      protected com.vaadin.flow.shared.Registration comboButtonClickRegistration
    • actionPropertyChangeRegistration

      protected com.vaadin.flow.shared.Registration actionPropertyChangeRegistration
  • Constructor Details

    • ComboButtonActionSupport

      public ComboButtonActionSupport(ComboButton comboButton)
  • Method Details

    • setAction

      public void setAction(@Nullable Action action, boolean overrideComponentProperties)
    • getAction

      @Nullable public Action getAction()
    • addActionVariant

      protected void addActionVariant(ComboButton component, ActionVariant actionVariant)
    • removeActionVariant

      protected void removeActionVariant(ComboButton component, ActionVariant actionVariant)
    • removeRegistrations

      protected void removeRegistrations()
    • updateText

      protected void updateText(boolean overrideComponentProperties)
    • updateEnabled

      protected void updateEnabled()
    • updateVisible

      protected void updateVisible()
    • updateActionVariant

      protected void updateActionVariant(boolean overrideComponentProperties)
    • updateIcon

      protected void updateIcon(boolean overrideComponentProperties)
    • updateTitle

      protected void updateTitle(boolean overrideComponentProperties)
    • updateShortcutCombination

      protected void updateShortcutCombination(boolean overrideComponentProperties)
    • onButtonClick

      protected void onButtonClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.contextmenu.MenuItem> event)
    • onActionPropertyChange

      protected void onActionPropertyChange(PropertyChangeEvent event)