Class DropdownButton

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<JmixMenuBar>
io.jmix.flowui.kit.component.dropdownbutton.AbstractDropdownButton
io.jmix.flowui.kit.component.dropdownbutton.DropdownButton
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasStyle, com.vaadin.flow.component.HasText, com.vaadin.flow.component.HasTheme, DropdownButtonComponent, HasSubParts, HasTitle, Serializable

public class DropdownButton extends AbstractDropdownButton
See Also:
  • Field Details

    • ATTRIBUTE_JMIX_ROLE_VALUE

      protected static final String ATTRIBUTE_JMIX_ROLE_VALUE
      See Also:
  • Constructor Details

    • DropdownButton

      public DropdownButton()
  • Method Details

    • initContent

      protected JmixMenuBar initContent()
      Overrides:
      initContent in class com.vaadin.flow.component.Composite<JmixMenuBar>
    • getDropdownItem

      protected JmixMenuItem getDropdownItem()
      Specified by:
      getDropdownItem in class AbstractDropdownButton
    • updateDropdownIconSlot

      protected void updateDropdownIconSlot()
    • setText

      public void setText(String text)
    • getText

      public String getText()
    • setWhiteSpace

      public void setWhiteSpace(com.vaadin.flow.component.HasText.WhiteSpace value)
    • getWhiteSpace

      public com.vaadin.flow.component.HasText.WhiteSpace getWhiteSpace()
    • setIcon

      public void setIcon(@Nullable com.vaadin.flow.component.icon.Icon icon)
    • addThemeVariants

      public void addThemeVariants(DropdownButtonVariant... variants)
    • removeThemeVariants

      public void removeThemeVariants(DropdownButtonVariant... variants)
    • updateIconSlot

      protected void updateIconSlot()