Package org.patternfly.component.menu
Class Dropdown
- java.lang.Object
-
- org.patternfly.component.ComponentDelegate<HTMLElement,Dropdown>
-
- org.patternfly.component.menu.Dropdown
-
- All Implemented Interfaces:
Attachable,Finder<HTMLElement>,HasElement<HTMLElement,Dropdown>,HasHTMLElement<HTMLElement,Dropdown>,IsElement<HTMLElement>,TypedBuilder<HTMLElement,Dropdown>,Closeable<HTMLElement,Dropdown>,Component,Modifiers.Disabled<HTMLElement,Dropdown>
public class Dropdown extends ComponentDelegate<HTMLElement,Dropdown> implements Closeable<HTMLElement,Dropdown>, Modifiers.Disabled<HTMLElement,Dropdown>, Attachable
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.
-
-
Field Summary
Fields Modifier and Type Field Description static intZ_INDEX
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Dropdownadd(Menu menu)Dropdownadd(MenuToggle toggle)DropdownaddMenu(Menu menu)DropdownaddToggle(MenuToggle toggle)DropdownariaLabel(String label)voidattach(MutationRecord mutationRecord)voidclose(Event event, boolean fireEvent)voiddetach(MutationRecord mutationRecord)Dropdowndisabled(boolean disabled)static Dropdowndropdown()Dropdownflip(boolean flip)booleanisDisabled()Menumenu()DropdownonClose(CloseHandler<Dropdown> closeHandler)Dropdownplacement(Placement placement)voidshow()voidshow(Event event)Dropdownthat()MenuToggletoggle()DropdownzIndex(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.jboss.elemento.HasElement
add, apply, aria, aria, aria, attr, attr, attr, classList, classList, css, id, id, innerHtml, 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
-
-
-
-
Field Detail
-
Z_INDEX
public static final int Z_INDEX
- See Also:
- Constant Field Values
-
-
Method Detail
-
dropdown
public static Dropdown dropdown()
-
attach
public void attach(MutationRecord mutationRecord)
- Specified by:
attachin interfaceAttachable
-
detach
public void detach(MutationRecord mutationRecord)
- Specified by:
detachin interfaceAttachable
-
addToggle
public Dropdown addToggle(MenuToggle toggle)
-
add
public Dropdown add(MenuToggle toggle)
-
disabled
public Dropdown disabled(boolean disabled)
- Specified by:
disabledin interfaceModifiers.Disabled<HTMLElement,Dropdown>
-
isDisabled
public boolean isDisabled()
- Specified by:
isDisabledin interfaceModifiers.Disabled<HTMLElement,Dropdown>
-
flip
public Dropdown flip(boolean flip)
-
zIndex
public Dropdown zIndex(int zIndex)
-
that
public Dropdown that()
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,Dropdown>
-
onClose
public Dropdown onClose(CloseHandler<Dropdown> closeHandler)
- Specified by:
onClosein interfaceCloseable<HTMLElement,Dropdown>
-
show
public void show()
-
show
public void show(Event event)
-
close
public void close(Event event, boolean fireEvent)
- Specified by:
closein interfaceCloseable<HTMLElement,Dropdown>
-
toggle
public MenuToggle toggle()
-
menu
public Menu menu()
-
-