Package org.patternfly.component.menu
Class MultiSelect
java.lang.Object
org.patternfly.component.ComponentDelegate<HTMLElement,MultiSelect>
org.patternfly.component.menu.MultiSelect
- All Implemented Interfaces:
Attachable,ElementAttributeMethods<HTMLElement,,MultiSelect> ElementClassListMethods<HTMLElement,,MultiSelect> ElementConsumerMethods<HTMLElement,,MultiSelect> ElementContainerMethods<HTMLElement,,MultiSelect> ElementEventMethods<HTMLElement,,MultiSelect> ElementIdMethods<HTMLElement,,MultiSelect> ElementQueryMethods<HTMLElement>,HTMLElementAttributeMethods<HTMLElement,,MultiSelect> HTMLElementDataMethods<HTMLElement,,MultiSelect> HTMLElementStyleMethods<HTMLElement,,MultiSelect> HTMLElementVisibilityMethods<HTMLElement,,MultiSelect> IsElement<HTMLElement>,TypedBuilder<HTMLElement,,MultiSelect> Component,Expandable<HTMLElement,,MultiSelect> org.patternfly.style.Modifiers.Disabled<HTMLElement,MultiSelect>
A select list enables users to select one or more items from a list. Use a select list when options are dynamic or variable.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionapplyTo(Consumer<MenuToggle> consumer) Provides access to the underlying menu toggle using a fluent API stylevoidattach(MutationRecord mutationRecord) voidclear()voidclear(boolean fireEvent) voidcollapse(boolean fireEvent) voiddetach(MutationRecord mutationRecord) disabled(boolean disabled) voidexpand(boolean fireEvent) flip(boolean flip) booleanmenu()static MultiSelectmultiSelect(String text) static MultiSelectmultiSelect(MenuToggle menuToggle) onToggle(org.patternfly.handler.ToggleHandler<MultiSelect> toggleHandler) placement(org.patternfly.popper.Placement placement) voidselectIdentifiers(List<String> identifiers) voidselectIdentifiers(List<String> identifiers, boolean fireEvent) voidselectItems(List<MenuItem> items) voidselectItems(List<MenuItem> items, boolean fireEvent) stayOpen()stayOpen(HTMLElement firstElement, HTMLElement... otherElements) that()voidunselectIdentifiers(List<String> identifiers) voidunselectIdentifiers(List<String> identifiers, boolean fireEvent) voidunselectItems(List<MenuItem> items) voidunselectItems(List<MenuItem> items, boolean fireEvent) zIndex(int zIndex) Methods inherited from class org.patternfly.component.ComponentDelegate
componentType, elementMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.elemento.ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface org.jboss.elemento.ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface org.jboss.elemento.ElementConsumerMethods
apply, runMethods inherited from interface org.jboss.elemento.ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface org.jboss.elemento.ElementEventMethods
on, on, onMethods inherited from interface org.jboss.elemento.ElementIdMethods
id, uniqueIdMethods inherited from interface org.jboss.elemento.ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface org.patternfly.component.Expandable
collapse, expand, expanded, toggle, toggleMethods inherited from interface org.jboss.elemento.HTMLElementAttributeMethods
titleMethods inherited from interface org.jboss.elemento.HTMLElementDataMethods
dataMethods inherited from interface org.jboss.elemento.HTMLElementStyleMethods
style, style, style, style, style, styleMethods inherited from interface org.jboss.elemento.HTMLElementVisibilityMethods
hiddenMethods inherited from interface org.patternfly.style.Modifiers.Disabled
disabled
-
Method Details
-
multiSelect
-
that
-
clear
public void clear() -
clear
public void clear(boolean fireEvent) -
selectIdentifiers
-
selectIdentifiers
-
selectItems
-
selectItems
-
unselectIdentifiers
-
unselectIdentifiers
-
unselectItems
-
unselectItems
-
attach
- Specified by:
attachin interfaceAttachable
-
detach
- Specified by:
detachin interfaceAttachable
-
applyTo
Provides access to the underlying menu toggle using a fluent API style -
disabled
- Specified by:
disabledin interfaceorg.patternfly.style.Modifiers.Disabled<HTMLElement,B extends TypedBuilder<HTMLElement, B>>
-
isDisabled
public boolean isDisabled()- Specified by:
isDisabledin interfaceorg.patternfly.style.Modifiers.Disabled<HTMLElement,B extends TypedBuilder<HTMLElement, B>>
-
flip
-
placement
-
stayOpen
-
stayOpen
-
zIndex
-
ariaLabel
-
onToggle
-
collapse
public void collapse(boolean fireEvent) - Specified by:
collapsein interfaceExpandable<HTMLElement,B extends TypedBuilder<HTMLElement, B>>
-
expand
public void expand(boolean fireEvent) - Specified by:
expandin interfaceExpandable<HTMLElement,B extends TypedBuilder<HTMLElement, B>>
-