Package org.patternfly.component.menu
Class MenuItemAction
java.lang.Object
org.patternfly.component.SubComponent<HTMLButtonElement,MenuItemAction>
org.patternfly.component.menu.MenuItemAction
- All Implemented Interfaces:
Container<HTMLButtonElement,
,MenuItemAction> Finder<HTMLButtonElement>
,HasElement<HTMLButtonElement,
,MenuItemAction> HasHTMLElement<HTMLButtonElement,
,MenuItemAction> IsElement<HTMLButtonElement>
,TypedBuilder<HTMLButtonElement,
,MenuItemAction> WithIcon<HTMLButtonElement,
,MenuItemAction> WithIdentifier<HTMLButtonElement,
MenuItemAction>
public class MenuItemAction
extends SubComponent<HTMLButtonElement,MenuItemAction>
implements WithIdentifier<HTMLButtonElement,MenuItemAction>, WithIcon<HTMLButtonElement,MenuItemAction>
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MenuItemAction
menuItemAction
(String identifier) static MenuItemAction
menuItemAction
(String identifier, Element icon) static MenuItemAction
menuItemAction
(String identifier, PredefinedIcon icon) onClick
(ComponentHandler<MenuItemAction> handler) that()
Methods inherited from class org.patternfly.component.SubComponent
element
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jboss.elemento.Container
add, add, add, addAll, addAll, addAll, addAll, addAll, addAll
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
-
Field Details
-
Method Details
-
icon
- Specified by:
icon
in interfaceWithIcon<HTMLButtonElement,
MenuItemAction>
-
removeIcon
- Specified by:
removeIcon
in interfaceWithIcon<HTMLButtonElement,
MenuItemAction>
-
that
- Specified by:
that
in interfaceTypedBuilder<HTMLButtonElement,
MenuItemAction>
-
onClick
-
identifier
- Specified by:
identifier
in interfaceWithIdentifier<HTMLButtonElement,
MenuItemAction>