Class NavigationItem
- java.lang.Object
-
- org.patternfly.components.SubComponent<elemental2.dom.HTMLLIElement,NavigationItem>
-
- org.patternfly.components.navigation.NavigationItem
-
- All Implemented Interfaces:
Container<elemental2.dom.HTMLLIElement,NavigationItem>,Finder<elemental2.dom.HTMLLIElement>,HasElement<elemental2.dom.HTMLLIElement,NavigationItem>,HasHTMLElement<elemental2.dom.HTMLLIElement,NavigationItem>,IsElement<elemental2.dom.HTMLLIElement>,TypedBuilder<elemental2.dom.HTMLLIElement,NavigationItem>
public class NavigationItem extends SubComponent<elemental2.dom.HTMLLIElement,NavigationItem>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NavigationItemnavigationItem(String id, String title)static NavigationItemnavigationItem(String id, String title, String href)NavigationItemonClick(EventCallbackFn<elemental2.dom.MouseEvent> callback)NavigationItemthat()-
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
-
-
-
-
Field Detail
-
id
public final String id
-
-
Method Detail
-
navigationItem
public static NavigationItem navigationItem(String id, String title)
-
navigationItem
public static NavigationItem navigationItem(String id, String title, String href)
-
that
public NavigationItem that()
-
onClick
public NavigationItem onClick(EventCallbackFn<elemental2.dom.MouseEvent> callback)
-
-