Class TextInputGroupMain
java.lang.Object
org.patternfly.component.SubComponent<HTMLDivElement,TextInputGroupMain>
org.patternfly.component.textinputgroup.TextInputGroupMain
- All Implemented Interfaces:
Container<HTMLDivElement,
,TextInputGroupMain> Finder<HTMLDivElement>
,HasElement<HTMLDivElement,
,TextInputGroupMain> HasHTMLElement<HTMLDivElement,
,TextInputGroupMain> IsElement<HTMLDivElement>
,TypedBuilder<HTMLDivElement,
,TextInputGroupMain> HasValue<String>
,WithIcon<HTMLDivElement,
,TextInputGroupMain> WithText<HTMLDivElement,
,TextInputGroupMain> Modifiers.Disabled<HTMLDivElement,
TextInputGroupMain>
public class TextInputGroupMain
extends SubComponent<HTMLDivElement,TextInputGroupMain>
implements HasValue<String>, Modifiers.Disabled<HTMLDivElement,TextInputGroupMain>, WithIcon<HTMLDivElement,TextInputGroupMain>, WithText<HTMLDivElement,TextInputGroupMain>
-
Method Summary
Modifier and TypeMethodDescriptionaddChipGroup
(ChipGroup chipGroup) applyTo
(Consumer<InputElementBuilder<HTMLInputElement>> consumer) Provides access to the underlying input element using a fluent API styleReturns the underlying input elementonChange
(ChangeHandler<TextInputGroup, String> changeHandler) Defines a change handler that is called when thevalue()
of input element changes.placeholder
(String placeholder) text()
Same asvalue(String)
static TextInputGroupMain
that()
value()
Same as value(value, false)Methods inherited from class org.patternfly.component.SubComponent
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, add, addAll, addAll, addAll, addAll, addAll, addAll
Methods inherited from interface org.jboss.elemento.HasElement
add, apply, aria, aria, aria, attr, attr, attr, classList, classList, css, id, innerHtml, on, on, on, run, textContent, textNode, toggle, toggle, toggle, uniqueId
Methods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, style, style, style, style, style, title
Methods inherited from interface org.patternfly.style.Modifiers.Disabled
disabled, disabled, isDisabled
-
Method Details
-
textInputGroupMain
-
addChipGroup
-
add
-
icon
- Specified by:
icon
in interfaceWithIcon<HTMLDivElement,
TextInputGroupMain>
-
removeIcon
- Specified by:
removeIcon
in interfaceWithIcon<HTMLDivElement,
TextInputGroupMain>
-
placeholder
-
text
Same asvalue(String)
- Specified by:
text
in interfaceWithText<HTMLDivElement,
TextInputGroupMain>
-
value
Same as value(value, false) -
value
-
applyTo
Provides access to the underlying input element using a fluent API style -
that
- Specified by:
that
in interfaceTypedBuilder<HTMLDivElement,
TextInputGroupMain>
-
onChange
Defines a change handler that is called when thevalue()
of input element changes. Changes are detected by adding an event listener for the keyup event to the text area element. -
value
-
text
- Specified by:
text
in interfaceWithText<HTMLDivElement,
TextInputGroupMain>
-
inputElement
Returns the underlying input element -
chipGroup
-