Class TextInputGroupMain
java.lang.Object
org.patternfly.component.SubComponent<E,B>
org.patternfly.component.textinputgroup.TextInputGroupMain
- All Implemented Interfaces:
Container<elemental2.dom.HTMLDivElement,,TextInputGroupMain> Finder<elemental2.dom.HTMLDivElement>,HasElement<elemental2.dom.HTMLDivElement,,TextInputGroupMain> HasHTMLElement<elemental2.dom.HTMLDivElement,,TextInputGroupMain> IsElement<elemental2.dom.HTMLDivElement>,TypedBuilder<elemental2.dom.HTMLDivElement,,TextInputGroupMain> HasValue<String>,WithIcon<elemental2.dom.HTMLDivElement,,TextInputGroupMain> WithText<elemental2.dom.HTMLDivElement,,TextInputGroupMain> Modifiers.Disabled<elemental2.dom.HTMLDivElement,TextInputGroupMain>
public class TextInputGroupMain
extends SubComponent<E,B>
implements HasValue<String>, Modifiers.Disabled<elemental2.dom.HTMLDivElement,TextInputGroupMain>, WithIcon<elemental2.dom.HTMLDivElement,TextInputGroupMain>, WithText<elemental2.dom.HTMLDivElement,TextInputGroupMain>
-
Method Summary
Modifier and TypeMethodDescriptionaddChipGroup(ChipGroup chipGroup) applyTo(Consumer<InputElementBuilder<elemental2.dom.HTMLInputElement>> consumer) Provides access to the underlying input element using a fluent API styleicon(elemental2.dom.Element icon) InputElementBuilder<elemental2.dom.HTMLInputElement>Returns the underlying input elementonChange(ChangeHandler<TextInputGroup, String> changeHandler) Defines a change handler that is called when thevalue()of this text area changes.onKeyup(ChangeHandler<TextInputGroup, String> changeHandler) Defines a change handler that is called when thevalue()of this text area changes.placeholder(String placeholder) text()Same asvalue(String)static TextInputGroupMainthat()value()Same as value(value, false)Methods inherited from class org.patternfly.component.SubComponent
elementMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.elemento.Container
add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods 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, uniqueIdMethods inherited from interface org.jboss.elemento.HasHTMLElement
data, hidden, style, style, style, style, style, style, titleMethods inherited from interface org.patternfly.style.Modifiers.Disabled
disabled, disabled, isDisabled
-
Method Details
-
textInputGroupMain
-
addChipGroup
-
add
-
icon
- Specified by:
iconin interfaceWithIcon<elemental2.dom.HTMLDivElement,TextInputGroupMain>
-
removeIcon
- Specified by:
removeIconin interfaceWithIcon<elemental2.dom.HTMLDivElement,TextInputGroupMain>
-
placeholder
-
text
Same asvalue(String)- Specified by:
textin interfaceWithText<elemental2.dom.HTMLDivElement,TextInputGroupMain>
-
value
Same as value(value, false) -
value
-
applyTo
public TextInputGroupMain applyTo(Consumer<InputElementBuilder<elemental2.dom.HTMLInputElement>> consumer) Provides access to the underlying input element using a fluent API style -
that
- Specified by:
thatin interfaceTypedBuilder<elemental2.dom.HTMLDivElement,TextInputGroupMain>
-
onKeyup
Defines a change handler that is called when thevalue()of this text area changes. Changes are detected by adding an event listener for theEventType.keyupevent to the text input element. -
onChange
Defines a change handler that is called when thevalue()of this text area changes. Changes are detected by adding an event listener for theEventType.changeevent to the text input element. -
value
-
text
- Specified by:
textin interfaceWithText<elemental2.dom.HTMLDivElement,TextInputGroupMain>
-
inputElement
Returns the underlying input element -
chipGroup
-