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>,ComponentReference<Menu>
public class MenuItemAction extends SubComponent<HTMLButtonElement,MenuItemAction> implements ComponentReference<Menu>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MenuItemActionicon(HTMLElement icon)MenuItemActionicon(String iconClass)MenuItemActionicon(PredefinedIcon predefinedIcon)static MenuItemActionmenuItemAction(String id)static MenuItemActionmenuItemAction(String id, String iconClass)static MenuItemActionmenuItemAction(String id, PredefinedIcon predefinedIcon)MenuItemActiononAction(ActionHandler<MenuItemAction> actionHandler)voidpassComponent(Menu menu)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, 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, PredefinedIcon predefinedIcon)
-
menuItemAction
public static MenuItemAction menuItemAction(String id, String iconClass)
-
passComponent
public void passComponent(Menu menu)
- Specified by:
passComponentin interfaceComponentReference<Menu>
-
that
public MenuItemAction that()
- Specified by:
thatin interfaceTypedBuilder<HTMLButtonElement,MenuItemAction>
-
icon
public MenuItemAction icon(PredefinedIcon predefinedIcon)
-
icon
public MenuItemAction icon(String iconClass)
-
icon
public MenuItemAction icon(HTMLElement icon)
-
onAction
public MenuItemAction onAction(ActionHandler<MenuItemAction> actionHandler)
-
-