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>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MenuItemActionicon(Element icon)static MenuItemActionmenuItemAction(String id)static MenuItemActionmenuItemAction(String id, Element icon)static MenuItemActionmenuItemAction(String id, PredefinedIcon icon)MenuItemActiononClick(ComponentHandler<MenuItemAction> handler)MenuItemActionremoveIcon()MenuItemActionthat()-
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, id, innerHtml, on, run, textContent, textNode, toggle, toggle, toggle, uniqueId
-
-
-
-
Method Detail
-
menuItemAction
public static MenuItemAction menuItemAction(String id)
-
menuItemAction
public static MenuItemAction menuItemAction(String id, PredefinedIcon icon)
-
menuItemAction
public static MenuItemAction menuItemAction(String id, Element icon)
-
icon
public MenuItemAction icon(Element icon)
- Specified by:
iconin interfaceWithIcon<HTMLButtonElement,MenuItemAction>
-
removeIcon
public MenuItemAction removeIcon()
- Specified by:
removeIconin interfaceWithIcon<HTMLButtonElement,MenuItemAction>
-
that
public MenuItemAction that()
- Specified by:
thatin interfaceTypedBuilder<HTMLButtonElement,MenuItemAction>
-
onClick
public MenuItemAction onClick(ComponentHandler<MenuItemAction> handler)
-
-