Package org.patternfly.component.form
Class Form
- All Implemented Interfaces:
Iterable<FormGroup>,ElementAttributeMethods<HTMLFormElement,,Form> ElementClassListMethods<HTMLFormElement,,Form> ElementConsumerMethods<HTMLFormElement,,Form> ElementContainerMethods<HTMLFormElement,,Form> ElementEventMethods<HTMLFormElement,,Form> ElementIdMethods<HTMLFormElement,,Form> ElementQueryMethods<HTMLFormElement>,HTMLElementAttributeMethods<HTMLFormElement,,Form> HTMLElementDataMethods<HTMLFormElement,,Form> HTMLElementStyleMethods<HTMLFormElement,,Form> HTMLElementVisibilityMethods<HTMLFormElement,,Form> IsElement<HTMLFormElement>,TypedBuilder<HTMLFormElement,,Form> Component,HasItems<HTMLFormElement,,Form, FormGroup> org.patternfly.style.Modifiers.Horizontal<HTMLFormElement,Form>
public class Form
extends BaseComponent<HTMLFormElement,Form>
implements HasItems<HTMLFormElement,Form,FormGroup>, org.patternfly.style.Modifiers.Horizontal<HTMLFormElement,Form>
A form is a group of elements used to collect information from a user in a variety of contexts, including in a modal, in a
wizard, or on a page. Use cases for forms include tasks reliant on user-inputted information for completion like logging in,
registering, configuring settings, or completing surveys.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionaddActionGroup(FormActionGroup actionGroup) addFieldGroup(FormFieldGroup fieldGroup) <T> FormaddSection(FormSection section) voidclear()voidbooleanstatic Formform()booleanisEmpty()iterator()intsize()that()Methods 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.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 java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.patternfly.style.Modifiers.Horizontal
horizontal, horizontal
-
Method Details
-
form
-
addItems
- Specified by:
addItemsin interfaceHasItems<HTMLFormElement,Form, FormGroup>
-
addItem
- Specified by:
addItemin interfaceHasItems<HTMLFormElement,Form, FormGroup>
-
addGroup
-
add
- Specified by:
addin interfaceHasItems<HTMLFormElement,Form, FormGroup>
-
addAlert
-
add
-
addSection
-
addFieldGroup
-
addActionGroup
-
limitWidth
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLFormElement,Form>
-
iterator
-
size
public int size()- Specified by:
sizein interfaceHasItems<HTMLFormElement,Form, FormGroup>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceHasItems<HTMLFormElement,Form, FormGroup>
-
contains
- Specified by:
containsin interfaceHasItems<HTMLFormElement,Form, FormGroup>
-
item
- Specified by:
itemin interfaceHasItems<HTMLFormElement,Form, FormGroup>
-
clear
public void clear()- Specified by:
clearin interfaceHasItems<HTMLFormElement,Form, FormGroup>
-
clearAlerts
public void clearAlerts()
-