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>
public class MenuItemAction extends SubComponent<E,B>
-
-
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)MenuItemActiononClick(ComponentHandler<MenuItemAction> handler)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
-
-
-
-
Method Detail
-
menuItemAction
public static MenuItemAction menuItemAction(String id)
-
menuItemAction
public static MenuItemAction menuItemAction(String id, String iconClass)
-
menuItemAction
public static MenuItemAction menuItemAction(String id, PredefinedIcon predefinedIcon)
-
icon
public MenuItemAction icon(PredefinedIcon predefinedIcon)
-
icon
public MenuItemAction icon(String iconClass)
-
icon
public MenuItemAction icon(HTMLElement icon)
-
that
public MenuItemAction that()
-
onClick
public MenuItemAction onClick(ComponentHandler<MenuItemAction> handler)
-
-