Package org.patternfly.component.form
Class TextArea
java.lang.Object
org.patternfly.component.BaseComponent<HTMLElement,TextArea>
org.patternfly.component.form.FormControl<HTMLElement,TextArea>
org.patternfly.component.form.TextArea
- All Implemented Interfaces:
Attachable,ElementAttributeMethods<HTMLElement,,TextArea> ElementClassListMethods<HTMLElement,,TextArea> ElementConsumerMethods<HTMLElement,,TextArea> ElementContainerMethods<HTMLElement,,TextArea> ElementEventMethods<HTMLElement,,TextArea> ElementIdMethods<HTMLElement,,TextArea> ElementQueryMethods<HTMLElement>,HTMLElementAttributeMethods<HTMLElement,,TextArea> HTMLElementDataMethods<HTMLElement,,TextArea> HTMLElementStyleMethods<HTMLElement,,TextArea> HTMLElementVisibilityMethods<HTMLElement,,TextArea> IsElement<HTMLElement>,TypedBuilder<HTMLElement,,TextArea> Component,HasValue<String>,org.patternfly.style.Modifiers.Disabled<HTMLElement,,TextArea> org.patternfly.style.Modifiers.Plain<HTMLElement,,TextArea> org.patternfly.style.Modifiers.Readonly<HTMLElement,,TextArea> org.patternfly.style.Modifiers.Required<HTMLElement,TextArea>
public class TextArea
extends FormControl<HTMLElement,TextArea>
implements Attachable, HasValue<String>, org.patternfly.style.Modifiers.Plain<HTMLElement,TextArea>, org.patternfly.style.Modifiers.Readonly<HTMLElement,TextArea>
A text area component is used for entering a paragraph of text that is longer than one line.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionapplyTo(Consumer<HTMLTextAreaElementBuilder<HTMLTextAreaElement>> textArea) Provides access to the underlying text area element using a fluent API stylevoidattach(MutationRecord mutationRecord) Defines a change handler that is called when thevalue()of this text area changes.Defines a change handler that is called when thevalue()of this text area changes.placeholder(String placeholder) plain(boolean plain) readonly(boolean readonly) required(boolean required) resize(TextAreaResize resize) textArea()Returns the underlying text area elementstatic TextAreastatic TextAreathat()value()Same as value(value, false)Methods inherited from class org.patternfly.component.form.FormControl
disabled, resetValidation, validatedMethods 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
plainMethods inherited from interface org.patternfly.style.Modifiers.Readonly
readonlyMethods inherited from interface org.patternfly.style.Modifiers.Required
required
-
Method Details
-
textArea
-
textArea
-
attach
- Specified by:
attachin interfaceAttachable
-
applyTo
Provides access to the underlying text area element using a fluent API style -
autoResize
-
readonly
- Specified by:
readonlyin interfaceorg.patternfly.style.Modifiers.Readonly<HTMLElement,TextArea>
-
plain
- Specified by:
plainin interfaceorg.patternfly.style.Modifiers.Plain<HTMLElement,TextArea>
-
placeholder
-
resize
-
required
- Specified by:
requiredin interfaceorg.patternfly.style.Modifiers.Required<HTMLElement,TextArea>
-
value
Same as value(value, false) -
value
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement,TextArea>
-
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 area 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 area element. -
value
-
textArea
Returns the underlying text area element
-