Package org.patternfly.components
Class GroupedOptionsMenu.Group<T>
- java.lang.Object
-
- org.patternfly.components.BaseComponent<elemental2.dom.HTMLElement,GroupedOptionsMenu.Group<T>>
-
- org.patternfly.components.GroupedOptionsMenu.Group<T>
-
- All Implemented Interfaces:
Container<elemental2.dom.HTMLElement,GroupedOptionsMenu.Group<T>>,Finder<elemental2.dom.HTMLElement>,HasElement<elemental2.dom.HTMLElement,GroupedOptionsMenu.Group<T>>,HasHTMLElement<elemental2.dom.HTMLElement,GroupedOptionsMenu.Group<T>>,IsElement<elemental2.dom.HTMLElement>,TypedBuilder<elemental2.dom.HTMLElement,GroupedOptionsMenu.Group<T>>,Component,HasValue<T>
- Enclosing class:
- GroupedOptionsMenu
public static class GroupedOptionsMenu.Group<T> extends BaseComponent<elemental2.dom.HTMLElement,GroupedOptionsMenu.Group<T>> implements HasValue<T>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupedOptionsMenu.Group<T>add(Iterable<T> items)GroupedOptionsMenu.Group<T>add(T item)GroupedOptionsMenu.Group<T>add(T[] items)GroupedOptionsMenu.Group<T>asString(Function<T,String> asString)GroupedOptionsMenu.Group<T>clearSelection()GroupedOptionsMenu.Group<T>display(BiConsumer<HTMLContainerBuilder<elemental2.dom.HTMLButtonElement>,T> display)GroupedOptionsMenu.Group<T>identifier(Function<T,String> identifier)GroupedOptionsMenu.Group<T>onSelect(SelectHandler<T> onSelect)GroupedOptionsMenu.Group<T>select(T item)GroupedOptionsMenu.Group<T>select(T item, boolean fireEvent)GroupedOptionsMenu.Group<T>that()Tvalue()-
Methods inherited from class org.patternfly.components.BaseComponent
componentType, 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
-
-
-
-
Constructor Detail
-
Group
public Group()
-
Group
public Group(String text)
-
-
Method Detail
-
that
public GroupedOptionsMenu.Group<T> that()
- Specified by:
thatin interfaceTypedBuilder<elemental2.dom.HTMLElement,GroupedOptionsMenu.Group<T>>
-
add
public GroupedOptionsMenu.Group<T> add(Iterable<T> items)
-
add
public GroupedOptionsMenu.Group<T> add(T[] items)
-
add
public GroupedOptionsMenu.Group<T> add(T item)
-
identifier
public GroupedOptionsMenu.Group<T> identifier(Function<T,String> identifier)
-
asString
public GroupedOptionsMenu.Group<T> asString(Function<T,String> asString)
-
display
public GroupedOptionsMenu.Group<T> display(BiConsumer<HTMLContainerBuilder<elemental2.dom.HTMLButtonElement>,T> display)
-
onSelect
public GroupedOptionsMenu.Group<T> onSelect(SelectHandler<T> onSelect)
-
select
public GroupedOptionsMenu.Group<T> select(T item)
-
select
public GroupedOptionsMenu.Group<T> select(T item, boolean fireEvent)
-
clearSelection
public GroupedOptionsMenu.Group<T> clearSelection()
-
-