Class PopperMultiSelect

All Implemented Interfaces:
Attachable, ElementAttributeMethods<HTMLElement, PopperMultiSelect>, ElementClassListMethods<HTMLElement, PopperMultiSelect>, ElementConsumerMethods<HTMLElement, PopperMultiSelect>, ElementContainerMethods<HTMLElement, PopperMultiSelect>, ElementEventMethods<HTMLElement, PopperMultiSelect>, ElementIdMethods<HTMLElement, PopperMultiSelect>, ElementQueryMethods<HTMLElement>, HTMLElementAttributeMethods<HTMLElement, PopperMultiSelect>, HTMLElementDataMethods<HTMLElement, PopperMultiSelect>, HTMLElementStyleMethods<HTMLElement, PopperMultiSelect>, HTMLElementVisibilityMethods<HTMLElement, PopperMultiSelect>, IsElement<HTMLElement>, TypedBuilder<HTMLElement, PopperMultiSelect>, Component, Expandable<HTMLElement, PopperMultiSelect>, Modifiers.Disabled<HTMLElement, PopperMultiSelect>

@Deprecated(since="0.7.0", forRemoval=true) public class PopperMultiSelect extends ComponentDelegate<HTMLElement, PopperMultiSelect>
Deprecated, for removal: This API element is subject to removal in a future version.
This implementation uses the Popper.js API, which is due to be removed soon. Use MultiSelect instead.
A select component to select multiple items from a list.
  • Method Details

    • multiSelect

      public static PopperMultiSelect multiSelect(String text)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Creates a new instance of MultiSelect with a toggle menu initialized using the provided text. The toggle menu includes a badge initialized with a count of zero in the read state.
      Parameters:
      text - the text to be displayed on the toggle menu
      Returns:
      a new instance of MultiSelect initialized with the specified text
    • multiSelect

      public static PopperMultiSelect multiSelect(MenuToggle menuToggle)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Creates a new instance of MultiSelect initialized with the specified MenuToggle.
      Parameters:
      menuToggle - the MenuToggle to initialize the MultiSelect with
      Returns:
      a new instance of MultiSelect initialized with the provided MenuToggle
    • that

      public PopperMultiSelect that()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • add

      public PopperMultiSelect add(Menu menu)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • clear

      public void clear()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • clear

      public void clear(boolean fireEvent)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • selectIdentifiers

      public void selectIdentifiers(List<String> identifiers)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • selectIdentifiers

      public void selectIdentifiers(List<String> identifiers, boolean fireEvent)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • selectItems

      public void selectItems(List<MenuItem> items)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • selectItems

      public void selectItems(List<MenuItem> items, boolean fireEvent)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • attach

      public void attach(MutationRecord mutationRecord)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      attach in interface Attachable
    • detach

      public void detach(MutationRecord mutationRecord)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      detach in interface Attachable
    • addMenu

      public PopperMultiSelect addMenu(Menu menu)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • applyToMenuToggle

      public PopperMultiSelect applyToMenuToggle(Consumer<MenuToggle> consumer)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Provides access to the underlying menu toggle using a fluent API style
    • disabled

      public PopperMultiSelect disabled(boolean disabled)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      disabled in interface Modifiers.Disabled<HTMLElement, B extends TypedBuilder<HTMLElement, B>>
    • isDisabled

      public boolean isDisabled()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isDisabled in interface Modifiers.Disabled<HTMLElement, B extends TypedBuilder<HTMLElement, B>>
    • flip

      public PopperMultiSelect flip(boolean flip)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • placement

      public PopperMultiSelect placement(PopperPlacement placement)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • stayOpen

      public PopperMultiSelect stayOpen()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • stayOpen

      public PopperMultiSelect stayOpen(Predicate<Event> stayOpen)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specifies a condition that determines whether the menu should remain open when an event occurs.
      Parameters:
      stayOpen - a Predicate that evaluates an Event to determine if the menu remains open.
      Returns:
      the current instance with the condition applied, enabling method chaining.
    • zIndex

      public PopperMultiSelect zIndex(int zIndex)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • ariaLabel

      public PopperMultiSelect ariaLabel(String label)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • onLoaded

      public PopperMultiSelect onLoaded(ComponentHandler<PopperMultiSelect> loadedHandler)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • onToggle

      public PopperMultiSelect onToggle(ToggleHandler<PopperMultiSelect> toggleHandler)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • collapse

      public void collapse(boolean fireEvent)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      collapse in interface Expandable<HTMLElement, B extends TypedBuilder<HTMLElement, B>>
    • expand

      public void expand(boolean fireEvent)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      expand in interface Expandable<HTMLElement, B extends TypedBuilder<HTMLElement, B>>