Class BaseTextInputGroup<T extends BaseTextInputGroup<T>>
java.lang.Object
org.patternfly.component.BaseComponent<HTMLElement, T>
org.patternfly.component.textinputgroup.BaseTextInputGroup<T>
- All Implemented Interfaces:
ElementAttributeMethods<HTMLElement, T>,ElementClassListMethods<HTMLElement, T>,ElementConsumerMethods<HTMLElement, T>,ElementContainerMethods<HTMLElement, T>,ElementEventMethods<HTMLElement, T>,ElementIdMethods<HTMLElement, T>,ElementQueryMethods<HTMLElement>,HTMLElementAttributeMethods<HTMLElement, T>,HTMLElementDataMethods<HTMLElement, T>,HTMLElementStyleMethods<HTMLElement, T>,HTMLElementVisibilityMethods<HTMLElement, T>,IsElement<HTMLElement>,TypedBuilder<HTMLElement, T>,Component,ComponentIcon<HTMLElement, T>,HasValue<String>,Validatable<HTMLElement, T>,Modifiers.Disabled<HTMLElement, T>,Modifiers.Plain<HTMLElement, T>
- Direct Known Subclasses:
BaseSearchInput,TextInputGroup
public abstract class BaseTextInputGroup<T extends BaseTextInputGroup<T>>
extends BaseComponent<HTMLElement, T>
implements ComponentIcon<HTMLElement, T>, Modifiers.Disabled<HTMLElement, T>, HasValue<String>, Modifiers.Plain<HTMLElement, T>, Validatable<HTMLElement, T>
-
Method Summary
Modifier and TypeMethodDescriptionadd(TextInputGroupUtilities utilities) addUtilities(TextInputGroupUtilities utilities) applyTo(Consumer<HTMLInputElementBuilder<HTMLInputElement>> consumer) Provides access to the underlying input element using a fluent API styledisabled(boolean disabled) Adds/removes modifier(disabled)input()Returns the underlying input elementonChange(ChangeHandler<T, String> changeHandler) onKeyup(ChangeHandler<T, String> changeHandler) placeholder(String placeholder) voidvalidated(ValidationStatus status) value()Same as value(value, false)Methods inherited from class org.patternfly.component.BaseComponent
componentType, element, registerComponentMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.patternfly.component.ComponentIcon
iconMethods 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, plainMethods inherited from interface org.jboss.elemento.TypedBuilder
that
-
Method Details
-
addUtilities
-
add
-
applyTo
Provides access to the underlying input element using a fluent API style -
disabled
Description copied from interface:Modifiers.DisabledAdds/removes modifier(disabled)- Specified by:
disabledin interfaceModifiers.Disabled<HTMLElement, T extends BaseTextInputGroup<T>>
-
icon
- Specified by:
iconin interfaceComponentIcon<HTMLElement, T extends BaseTextInputGroup<T>>
-
placeholder
-
removeIcon
- Specified by:
removeIconin interfaceComponentIcon<HTMLElement, T extends BaseTextInputGroup<T>>
-
validated
- Specified by:
validatedin interfaceValidatable<HTMLElement, T extends BaseTextInputGroup<T>>
-
value
Same as value(value, false) -
value
-
onKeyup
-
onChange
-
input
Returns the underlying input element -
utilities
-
resetValidation
public void resetValidation()- Specified by:
resetValidationin interfaceValidatable<HTMLElement, T extends BaseTextInputGroup<T>>
-
value
-