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 MenuToggleMenu
addMenu, applyTo, ariaLabel, attach, collapse, detach, disabled, expand, flip, isDisabled, menu, menuToggle, onLoaded, onToggle, placement, stayOpen, stayOpen, zIndexMethods inherited from class ComponentDelegate
componentType, elementMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface ElementConsumerMethods
apply, runMethods inherited from interface ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface ElementEventMethods
on, on, onMethods inherited from interface ElementIdMethods
id, uniqueIdMethods inherited from interface ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface HTMLElementAttributeMethods
titleMethods inherited from interface HTMLElementDataMethods
data, dataMethods inherited from interface HTMLElementVisibilityMethods
hiddenMethods inherited from interface 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
-