Package org.patternfly.component
Class SingleOptionsMenu<T>
- java.lang.Object
-
- org.patternfly.component.BaseComponent<HTMLDivElement,SingleOptionsMenu<T>>
-
- org.patternfly.component.SingleOptionsMenu<T>
-
- All Implemented Interfaces:
Container<HTMLDivElement,SingleOptionsMenu<T>>,Finder<HTMLDivElement>,HasElement<HTMLDivElement,SingleOptionsMenu<T>>,HasHTMLElement<HTMLDivElement,SingleOptionsMenu<T>>,IsElement<HTMLDivElement>,TypedBuilder<HTMLDivElement,SingleOptionsMenu<T>>,Component,HasValue<T>,Modifiers.Disabled<HTMLDivElement,SingleOptionsMenu<T>>
@Deprecated public class SingleOptionsMenu<T> extends BaseComponent<HTMLDivElement,SingleOptionsMenu<T>> implements HasValue<T>, Modifiers.Disabled<HTMLDivElement,SingleOptionsMenu<T>>
Deprecated.PatternFly options menu (not grouped, single selection).
-
-
Method Summary
-
Methods inherited from class org.patternfly.component.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
-
Methods inherited from interface org.patternfly.core.Modifiers.Disabled
disabled
-
-
-
-
Method Detail
-
text
public static <T> SingleOptionsMenu<T> text(String text)
Deprecated.
-
icon
public static <T> SingleOptionsMenu<T> icon(Icon icon)
Deprecated.
-
plain
public static <T> SingleOptionsMenu<T> plain(String text)
Deprecated.
-
that
public SingleOptionsMenu<T> that()
Deprecated.- Specified by:
thatin interfaceTypedBuilder<HTMLDivElement,SingleOptionsMenu<T>>
-
add
public SingleOptionsMenu<T> add(Iterable<T> items)
Deprecated.
-
add
public SingleOptionsMenu<T> add(T[] items)
Deprecated.
-
add
public SingleOptionsMenu<T> add(T item)
Deprecated.
-
identifier
public SingleOptionsMenu<T> identifier(Function<T,String> identifier)
Deprecated.
-
asString
public SingleOptionsMenu<T> asString(Function<T,String> asString)
Deprecated.
-
display
public SingleOptionsMenu<T> display(BiConsumer<HTMLContainerBuilder<HTMLButtonElement>,T> display)
Deprecated.
-
select
public SingleOptionsMenu<T> select(T item)
Deprecated.
-
select
public SingleOptionsMenu<T> select(T item, boolean fireOnSelect)
Deprecated.
-
up
public SingleOptionsMenu<T> up()
Deprecated.
-
right
public SingleOptionsMenu<T> right()
Deprecated.
-
collapseOnSelect
public SingleOptionsMenu<T> collapseOnSelect()
Deprecated.
-
disabled
public SingleOptionsMenu<T> disabled(boolean disabled)
Deprecated.Description copied from interface:Modifiers.DisabledAdds/removes modifier(disabled)- Specified by:
disabledin interfaceModifiers.Disabled<HTMLDivElement,SingleOptionsMenu<T>>
-
disable
public void disable(T item)
Deprecated.
-
enable
public void enable(T item)
Deprecated.
-
onToggle
public SingleOptionsMenu<T> onToggle(Consumer<Boolean> onToggle)
Deprecated.
-
onSelect
public SingleOptionsMenu<T> onSelect(SelectHandler<T> onSelect)
Deprecated.
-
-