Package org.patternfly.components.menu
Class MenuItemAction
- java.lang.Object
-
- org.patternfly.components.SubComponent<elemental2.dom.HTMLButtonElement,MenuItemAction>
-
- org.patternfly.components.menu.MenuItemAction
-
- All Implemented Interfaces:
Container<elemental2.dom.HTMLButtonElement,MenuItemAction>,Finder<elemental2.dom.HTMLButtonElement>,HasElement<elemental2.dom.HTMLButtonElement,MenuItemAction>,HasHTMLElement<elemental2.dom.HTMLButtonElement,MenuItemAction>,IsElement<elemental2.dom.HTMLButtonElement>,TypedBuilder<elemental2.dom.HTMLButtonElement,MenuItemAction>
public class MenuItemAction extends SubComponent<elemental2.dom.HTMLButtonElement,MenuItemAction>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MenuItemActionicon(elemental2.dom.HTMLElement icon)MenuItemActionicon(String icon)static MenuItemActionmenuItemAction(String id)static MenuItemActionmenuItemAction(String id, String icon)MenuItemActiononClick(MenuItemActionClickHandler onClick)voidpassMenu(Menu menu)MenuItemActionthat()-
Methods inherited from class org.patternfly.components.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, addAll, addAll, addAll, addAll, addAll
-
Methods inherited from interface org.jboss.elemento.HasElement
add, apply, aria, aria, aria, attr, attr, attr, css, id, id, innerHtml, on, textContent, toggle, toggle, toggle
-
Methods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, title
-
-
-
-
Method Detail
-
menuItemAction
public static MenuItemAction menuItemAction(String id)
-
menuItemAction
public static MenuItemAction menuItemAction(String id, String icon)
-
passMenu
public void passMenu(Menu menu)
-
that
public MenuItemAction that()
- Specified by:
thatin interfaceTypedBuilder<elemental2.dom.HTMLButtonElement,MenuItemAction>
-
icon
public MenuItemAction icon(String icon)
-
icon
public MenuItemAction icon(elemental2.dom.HTMLElement icon)
-
onClick
public MenuItemAction onClick(MenuItemActionClickHandler onClick)
-
-