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 BaseComponent
componentType, element, registerComponentMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ComponentIcon
iconMethods inherited from interface ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface ElementConsumerMethods
apply, runMethods inherited from interface ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface ElementEventMethods
on, on, onMethods inherited from interface ElementIdMethods
id, uniqueIdMethods inherited from interface ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface HTMLElementAttributeMethods
titleMethods inherited from interface HTMLElementDataMethods
data, dataMethods inherited from interface HTMLElementVisibilityMethods
hiddenMethods inherited from interface Modifiers.Disabled
disabled, isDisabledMethods inherited from interface Modifiers.Plain
plain, plainMethods inherited from interface 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
-