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
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic MenuItemActionmenuItemAction(String identifier) static MenuItemActionmenuItemAction(String identifier, Element icon) static MenuItemActionmenuItemAction(String identifier, PredefinedIcon icon) onClick(ComponentHandler<MenuItemAction> handler) that()Methods inherited from class org.patternfly.component.SubComponent
elementMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.elemento.Container
add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods 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:
iconin interfaceWithIcon<HTMLButtonElement,MenuItemAction>
-
removeIcon
- Specified by:
removeIconin interfaceWithIcon<HTMLButtonElement,MenuItemAction>
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLButtonElement,MenuItemAction>
-
onClick
-
identifier
- Specified by:
identifierin interfaceWithIdentifier<HTMLButtonElement,MenuItemAction>