Class ValuePickerActionSupport

java.lang.Object
io.jmix.flowui.kit.component.valuepicker.ValuePickerActionSupport
Direct Known Subclasses:
JmixValuePickerActionSupport

public class ValuePickerActionSupport extends Object
  • Field Details

    • SLOT_ACTIONS

      protected static final String SLOT_ACTIONS
      See Also:
    • ATTRIBUTE_HAS_ACTIONS

      protected static final String ATTRIBUTE_HAS_ACTIONS
      See Also:
    • component

      protected final com.vaadin.flow.component.HasElement component
    • actionsSlot

      protected final String actionsSlot
    • hasActionsAttribute

      protected final String hasActionsAttribute
    • actionsLayout

      protected com.vaadin.flow.component.html.Div actionsLayout
    • actions

      protected List<Action> actions
    • actionBinding

      protected Map<Action,ValuePickerButton> actionBinding
  • Constructor Details

    • ValuePickerActionSupport

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

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

    • addAction

      public void addAction(Action action)
    • addAction

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

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

      public void removeAction(Action action)
    • removeActionInternal

      protected void removeActionInternal(Action action)
    • getAction

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

      public Collection<Action> getActions()
    • addButton

      protected void addButton(Action action, int index)
    • removeButton

      protected void removeButton(Action action)
    • updateActionsSlot

      protected void updateActionsSlot()
    • getActionsLayout

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

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

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