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.BlurNotifier<AbstractDropdownButton>, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.Focusable<AbstractDropdownButton>, com.vaadin.flow.component.FocusNotifier<AbstractDropdownButton>, 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, com.vaadin.flow.component.shared.HasOverlayClassName, 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)
    • isDropdownIndicatorVisible

      public boolean isDropdownIndicatorVisible()
    • setDropdownIndicatorVisible

      public void setDropdownIndicatorVisible(boolean dropdownIndicatorVisible)
    • addThemeVariants

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

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

      protected void updateIconSlot()