Class TextInputGroup
java.lang.Object
org.patternfly.component.BaseComponent<HTMLDivElement,TextInputGroup>
org.patternfly.component.textinputgroup.TextInputGroup
- All Implemented Interfaces:
Attachable,ElementAttributeMethods<HTMLDivElement,,TextInputGroup> ElementClassListMethods<HTMLDivElement,,TextInputGroup> ElementConsumerMethods<HTMLDivElement,,TextInputGroup> ElementContainerMethods<HTMLDivElement,,TextInputGroup> ElementEventMethods<HTMLDivElement,,TextInputGroup> ElementIdMethods<HTMLDivElement,,TextInputGroup> ElementQueryMethods<HTMLDivElement>,HTMLElementAttributeMethods<HTMLDivElement,,TextInputGroup> HTMLElementDataMethods<HTMLDivElement,,TextInputGroup> HTMLElementStyleMethods<HTMLDivElement,,TextInputGroup> HTMLElementVisibilityMethods<HTMLDivElement,,TextInputGroup> IsElement<HTMLDivElement>,TypedBuilder<HTMLDivElement,,TextInputGroup> Component,org.patternfly.style.Modifiers.Disabled<HTMLDivElement,,TextInputGroup> org.patternfly.style.Modifiers.Plain<HTMLDivElement,TextInputGroup>
public class TextInputGroup
extends BaseComponent<HTMLDivElement,TextInputGroup>
implements Attachable, org.patternfly.style.Modifiers.Disabled<HTMLDivElement,TextInputGroup>, org.patternfly.style.Modifiers.Plain<HTMLDivElement,TextInputGroup>
A text input group is a more flexible composable version of a text input. It enables consumers of PatternFly to build custom
inputs for filtering and similar use cases by placing elements like icons, chips groups and buttons within a text input.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionadd(TextInputGroupMain main) add(TextInputGroupUtilities utilities) addMain(TextInputGroupMain main) addUtilities(TextInputGroupUtilities utilities) voidattach(MutationRecord mutationRecord) voidclear()Same asclear(true).voidclear(boolean fireEvent) disabled(boolean disabled) static TextInputGroupstatic TextInputGroupfilterInputGroup(String placeholder) static TextInputGroupfilterInputGroup(String placeholder, Consumer<TextInputGroup> onClear) main()onChange(org.patternfly.handler.ChangeHandler<TextInputGroup, String> changeHandler) Delegates toTextInputGroupMain.onChange(ChangeHandler)onKeyup(org.patternfly.handler.ChangeHandler<TextInputGroup, String> changeHandler) Delegates toTextInputGroupMain.onKeyup(ChangeHandler)static TextInputGroupstatic TextInputGroupsearchInputGroup(String placeholder) static TextInputGroupsearchInputGroup(String placeholder, Consumer<TextInputGroup> onClear) static TextInputGroupthat()Methods inherited from class org.patternfly.component.BaseComponent
componentType, elementMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.elemento.Attachable
detachMethods inherited from interface org.jboss.elemento.ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface org.jboss.elemento.ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface org.jboss.elemento.ElementConsumerMethods
apply, runMethods inherited from interface org.jboss.elemento.ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface org.jboss.elemento.ElementEventMethods
on, on, onMethods inherited from interface org.jboss.elemento.ElementIdMethods
id, uniqueIdMethods inherited from interface org.jboss.elemento.ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface org.jboss.elemento.HTMLElementAttributeMethods
titleMethods inherited from interface org.jboss.elemento.HTMLElementDataMethods
dataMethods inherited from interface org.jboss.elemento.HTMLElementStyleMethods
style, style, style, style, style, styleMethods inherited from interface org.jboss.elemento.HTMLElementVisibilityMethods
hiddenMethods inherited from interface org.patternfly.style.Modifiers.Disabled
disabled, isDisabledMethods inherited from interface org.patternfly.style.Modifiers.Plain
plain, plain
-
Method Details
-
textInputGroup
-
searchInputGroup
-
searchInputGroup
-
searchInputGroup
-
filterInputGroup
-
filterInputGroup
-
filterInputGroup
-
attach
- Specified by:
attachin interfaceAttachable
-
addMain
-
add
-
addUtilities
-
add
-
disabled
- Specified by:
disabledin interfaceorg.patternfly.style.Modifiers.Disabled<HTMLDivElement,TextInputGroup>
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLDivElement,TextInputGroup>
-
onKeyup
public TextInputGroup onKeyup(org.patternfly.handler.ChangeHandler<TextInputGroup, String> changeHandler) Delegates toTextInputGroupMain.onKeyup(ChangeHandler) -
onChange
public TextInputGroup onChange(org.patternfly.handler.ChangeHandler<TextInputGroup, String> changeHandler) Delegates toTextInputGroupMain.onChange(ChangeHandler) -
clear
public void clear()Same asclear(true). -
clear
public void clear(boolean fireEvent) -
main
-
utilities
-