Class JmixButtonActionSupport

java.lang.Object
io.jmix.flowui.kit.component.button.JmixButtonActionSupport

public class JmixButtonActionSupport extends Object
  • Field Details

    • button

      protected final JmixButton button
    • action

      protected Action action
    • registration

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

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

    • JmixButtonActionSupport

      public JmixButtonActionSupport(JmixButton button)
  • Method Details

    • setAction

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

      @Nullable public Action getAction()
    • addActionVariant

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

      protected void removeActionVariant(JmixButton 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)
    • updateShortcut

      protected void updateShortcut(boolean overrideComponentProperties)
    • addPropertyChangeListener

      protected com.vaadin.flow.shared.Registration addPropertyChangeListener()