Package org.patternfly.component.menu
Class Dropdown
- All Implemented Interfaces:
Attachable,Finder<HTMLElement>,HasElement<HTMLElement,,Dropdown> HasHTMLElement<HTMLElement,,Dropdown> IsElement<HTMLElement>,TypedBuilder<HTMLElement,,Dropdown> Component,Expandable<HTMLElement,,Dropdown> Modifiers.Disabled<HTMLElement,Dropdown>
A dropdown presents a menu of actions or links in a constrained space that will trigger a process or navigate to a new
location. See select component guidelines for more information about making one or more selections from a list of items in a
value list.
-
Method Summary
Modifier and TypeMethodDescriptionvoidattach(MutationRecord mutationRecord) voidcollapse(boolean fireEvent) voiddetach(MutationRecord mutationRecord) disabled(boolean disabled) static Dropdownstatic Dropdowndropdown(MenuToggle menuToggle) static Dropdowndropdown(PredefinedIcon icon, String label) voidexpand(boolean fireEvent) flip(boolean flip) booleanmenu()onToggle(ToggleHandler<Dropdown> toggleHandler) voidvoidvoidvoidvoidvoidthat()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.patternfly.component.Expandable
collapse, expand, expanded, toggle, toggleMethods 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, uniqueIdMethods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, style, style, style, style, style, titleMethods inherited from interface org.patternfly.style.Modifiers.Disabled
disabled
-
Method Details
-
dropdown
-
dropdown
-
that
-
attach
- Specified by:
attachin interfaceAttachable
-
detach
- Specified by:
detachin interfaceAttachable
-
disabled
- Specified by:
disabledin interfaceModifiers.Disabled<HTMLElement,B extends TypedBuilder<HTMLElement, B>>
-
isDisabled
public boolean isDisabled()- Specified by:
isDisabledin interfaceModifiers.Disabled<HTMLElement,B extends TypedBuilder<HTMLElement, B>>
-
flip
-
placement
-
zIndex
-
ariaLabel
-
onToggle
-
select
-
select
-
select
-
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>>
-