Package org.patternfly.component.menu
Class SingleSelect
java.lang.Object
org.patternfly.component.ComponentDelegate<HTMLElement,SingleSelect>
org.patternfly.component.menu.SingleSelect
- All Implemented Interfaces:
Attachable
,Finder<HTMLElement>
,HasElement<HTMLElement,
,SingleSelect> HasHTMLElement<HTMLElement,
,SingleSelect> IsElement<HTMLElement>
,TypedBuilder<HTMLElement,
,SingleSelect> Component
,Expandable<HTMLElement,
,SingleSelect> Modifiers.Disabled<HTMLElement,
SingleSelect>
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 TypeMethodDescriptionvoid
attach
(MutationRecord mutationRecord) void
collapse
(boolean fireEvent) void
detach
(MutationRecord mutationRecord) disabled
(boolean disabled) void
expand
(boolean fireEvent) flip
(boolean flip) boolean
menu()
onToggle
(ToggleHandler<SingleSelect> toggleHandler) void
void
void
void
void
void
static SingleSelect
singleSelect
(String text) static SingleSelect
singleSelect
(MenuToggle menuToggle) that()
zIndex
(int zIndex) Methods inherited from class org.patternfly.component.ComponentDelegate
componentType, element
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.patternfly.component.Expandable
collapse, expand, expanded, toggle, toggle
Methods inherited from interface org.jboss.elemento.HasElement
add, apply, aria, aria, aria, attr, attr, attr, classList, classList, css, id, innerHtml, on, on, on, run, textContent, textNode, toggle, toggle, toggle, uniqueId
Methods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, style, style, style, style, style, title
Methods inherited from interface org.patternfly.style.Modifiers.Disabled
disabled
-
Method Details
-
singleSelect
-
that
-
attach
- Specified by:
attach
in interfaceAttachable
-
detach
- Specified by:
detach
in interfaceAttachable
-
disabled
- Specified by:
disabled
in interfaceModifiers.Disabled<HTMLElement,
B extends TypedBuilder<HTMLElement, B>>
-
isDisabled
public boolean isDisabled()- Specified by:
isDisabled
in interfaceModifiers.Disabled<HTMLElement,
B extends TypedBuilder<HTMLElement, B>>
-
flip
-
placement
-
zIndex
-
ariaLabel
-
onToggle
-
select
-
select
-
select
-
collapse
public void collapse(boolean fireEvent) - Specified by:
collapse
in interfaceExpandable<HTMLElement,
B extends TypedBuilder<HTMLElement, B>>
-
expand
public void expand(boolean fireEvent) - Specified by:
expand
in interfaceExpandable<HTMLElement,
B extends TypedBuilder<HTMLElement, B>>
-