Class ValuePickerActionSupport

java.lang.Object
io.jmix.flowui.kit.component.delegate.AbstractActionsHolderSupport<com.vaadin.flow.component.Component>
io.jmix.flowui.kit.component.valuepicker.ValuePickerActionSupport
Direct Known Subclasses:
JmixValuePickerActionSupport

public class ValuePickerActionSupport extends AbstractActionsHolderSupport<com.vaadin.flow.component.Component>
A support class responsible for managing actions in a value picker component. This class provides the functionality to add, remove, and manage action buttons for the component while updating the actions layout dynamically.
  • Field Details

  • Constructor Details

    • ValuePickerActionSupport

      public ValuePickerActionSupport(com.vaadin.flow.component.Component component)
    • ValuePickerActionSupport

      public ValuePickerActionSupport(com.vaadin.flow.component.Component component, String actionsSlot, String hasActionsAttribute)
  • Method Details

    • addActionInternal

      protected void addActionInternal(Action action, int index)
      Overrides:
      addActionInternal in class AbstractActionsHolderSupport<com.vaadin.flow.component.Component>
    • removeActionInternal

      protected boolean removeActionInternal(Action action)
      Overrides:
      removeActionInternal in class AbstractActionsHolderSupport<com.vaadin.flow.component.Component>
    • addButton

      protected void addButton(Action action)
    • removeButton

      protected void removeButton(Action action)
    • updateActionsSlot

      protected void updateActionsSlot()
    • getActionsLayout

      protected com.vaadin.flow.component.html.Div getActionsLayout()
    • createButton

      protected ValuePickerButton createButton()
    • createActionsLayout

      protected com.vaadin.flow.component.html.Div createActionsLayout()
    • getElement

      protected com.vaadin.flow.dom.Element getElement()