Package org.patternfly.component.menu
Class MenuItemAction
java.lang.Object
org.patternfly.component.SubComponent<E,B>
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>
public class MenuItemAction
extends SubComponent<E,B>
implements WithIcon<HTMLButtonElement,MenuItemAction>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic MenuItemActionmenuItemAction(String id) static MenuItemActionmenuItemAction(String id, Element icon) static MenuItemActionmenuItemAction(String id, 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, id, innerHtml, on, on, on, run, textContent, textNode, toggle, toggle, toggle, uniqueId
-
Field Details
-
id
-
-
Method Details
-
icon
- Specified by:
iconin interfaceWithIcon<HTMLButtonElement,MenuItemAction>
-
removeIcon
- Specified by:
removeIconin interfaceWithIcon<HTMLButtonElement,MenuItemAction>
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLButtonElement,MenuItemAction>
-
onClick