Package org.patternfly.component
Class Dropdown<T>
- java.lang.Object
-
- org.patternfly.component.BaseComponent<HTMLDivElement,Dropdown<T>>
-
- org.patternfly.component.Dropdown<T>
-
- All Implemented Interfaces:
Container<HTMLDivElement,Dropdown<T>>,Finder<HTMLDivElement>,HasElement<HTMLDivElement,Dropdown<T>>,HasHTMLElement<HTMLDivElement,Dropdown<T>>,IsElement<HTMLDivElement>,TypedBuilder<HTMLDivElement,Dropdown<T>>,Component,Modifiers.Disabled<HTMLDivElement,Dropdown<T>>
@Deprecated public class Dropdown<T> extends BaseComponent<HTMLDivElement,Dropdown<T>> implements Modifiers.Disabled<HTMLDivElement,Dropdown<T>>
Deprecated.PatternFly dropdown component.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Dropdown<T>add(Iterable<T> items)Deprecated.Dropdown<T>add(T item)Deprecated.Dropdown<T>add(T[] items)Deprecated.Dropdown<T>addSeparator()Deprecated.Dropdown<T>asString(Function<T,String> asString)Deprecated.Dropdown<T>check(boolean value)Deprecated.Dropdown<T>check(boolean value, boolean fireEvent)Deprecated.voidclearText()Deprecated.Removes the text from a dropdown created withsplitCheckbox().voiddisable(T item)Deprecated.Dropdown<T>disabled(boolean disabled)Deprecated.Adds/removes modifier(disabled)Dropdown<T>display(BiConsumer<HTMLContainerBuilder<HTMLButtonElement>,T> display)Deprecated.voidenable(T item)Deprecated.static <T> Dropdown<T>icon(Icon icon)Deprecated.Dropdown<T>identifier(Function<T,String> identifier)Deprecated.Dropdown<T>indeterminate(boolean value)Deprecated.static <T> Dropdown<T>kebab()Deprecated.Dropdown<T>onChange(Consumer<Boolean> onChange)Deprecated.Dropdown<T>onSelect(SelectHandler<T> onSelect)Deprecated.Dropdown<T>onToggle(Consumer<Boolean> onToggle)Deprecated.Dropdown<T>primary()Deprecated.Dropdown<T>right()Deprecated.Dropdown<T>select(T item)Deprecated.Dropdown<T>select(T item, boolean fireEvent)Deprecated.voidsetText(String text)Deprecated.voidsetText(T item, String text)Deprecated.static <T> Dropdown<T>splitAction(String text)Deprecated.static <T> Dropdown<T>splitAction(Icon icon)Deprecated.static <T> Dropdown<T>splitCheckbox()Deprecated.static <T> Dropdown<T>splitCheckbox(String text)Deprecated.static <T> Dropdown<T>text(String text)Deprecated.Dropdown<T>that()Deprecated.Dropdown<T>up()Deprecated.voidupdate(T item)Deprecated.-
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
-
kebab
public static <T> Dropdown<T> kebab()
Deprecated.
-
splitCheckbox
public static <T> Dropdown<T> splitCheckbox()
Deprecated.
-
that
public Dropdown<T> that()
Deprecated.- Specified by:
thatin interfaceTypedBuilder<HTMLDivElement,Dropdown<T>>
-
update
public void update(T item)
Deprecated.
-
display
public Dropdown<T> display(BiConsumer<HTMLContainerBuilder<HTMLButtonElement>,T> display)
Deprecated.
-
disabled
public Dropdown<T> disabled(boolean disabled)
Deprecated.Description copied from interface:Modifiers.DisabledAdds/removes modifier(disabled)- Specified by:
disabledin interfaceModifiers.Disabled<HTMLDivElement,Dropdown<T>>
-
disable
public void disable(T item)
Deprecated.
-
enable
public void enable(T item)
Deprecated.
-
setText
public void setText(String text)
Deprecated.
-
clearText
public void clearText()
Deprecated.Removes the text from a dropdown created withsplitCheckbox().
-
onSelect
public Dropdown<T> onSelect(SelectHandler<T> onSelect)
Deprecated.
-
-