Class SingleSelect
java.lang.Object
org.patternfly.component.ComponentDelegate<HTMLElement, SingleSelect>
org.patternfly.component.menu.MenuToggleMenu<SingleSelect>
org.patternfly.component.menu.SingleSelect
- All Implemented Interfaces:
Attachable,ElementAttributeMethods<HTMLElement, SingleSelect>,ElementClassListMethods<HTMLElement, SingleSelect>,ElementConsumerMethods<HTMLElement, SingleSelect>,ElementContainerMethods<HTMLElement, SingleSelect>,ElementEventMethods<HTMLElement, SingleSelect>,ElementIdMethods<HTMLElement, SingleSelect>,ElementQueryMethods<HTMLElement>,HTMLElementAttributeMethods<HTMLElement, SingleSelect>,HTMLElementDataMethods<HTMLElement, SingleSelect>,HTMLElementStyleMethods<HTMLElement, SingleSelect>,HTMLElementVisibilityMethods<HTMLElement, SingleSelect>,IsElement<HTMLElement>,TypedBuilder<HTMLElement, SingleSelect>,Component,Expandable<HTMLElement, SingleSelect>,Modifiers.Disabled<HTMLElement, SingleSelect>
A select component to select exactly one item from a list.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidclear(boolean fireEvent) voidvoidvoidvoidstatic SingleSelectsingleSelect(String text) Creates a new SingleSelect component with the specified text.static SingleSelectsingleSelect(MenuToggle menuToggle) Creates a new SingleSelect component using the specified MenuToggle.that()Methods inherited from class org.patternfly.component.menu.MenuToggleMenu
addMenu, applyTo, ariaLabel, attach, collapse, detach, disabled, expand, flip, isDisabled, menu, menuToggle, onLoaded, onToggle, placement, stayOpen, stayOpen, zIndexMethods 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
-
singleSelect
Creates a new SingleSelect component with the specified text.- Parameters:
text- the text to display on the SingleSelect toggle- Returns:
- a new instance of SingleSelect
-
that
-
noDefaultSelectHandler
-
clear
public void clear() -
clear
public void clear(boolean fireEvent) -
select
-
select
-